public class GalleryUpdate extends UpdateResourceDefinition
Constructor and Description |
---|
GalleryUpdate() |
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The description of this Shared Image Gallery resource.
|
GalleryIdentifier |
identifier()
Get the identifier property: Describes the gallery unique name.
|
GalleryPropertiesProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
|
void |
validate()
Validates the instance.
|
GalleryUpdate |
withDescription(String description)
Set the description property: The description of this Shared Image Gallery resource.
|
GalleryUpdate |
withIdentifier(GalleryIdentifier identifier)
Set the identifier property: Describes the gallery unique name.
|
tags, withTags
public String description()
public GalleryUpdate withDescription(String description)
description
- the description value to set.public GalleryIdentifier identifier()
public GalleryUpdate withIdentifier(GalleryIdentifier identifier)
identifier
- the identifier value to set.public GalleryPropertiesProvisioningState provisioningState()
public void validate()
validate
in class UpdateResourceDefinition
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.