CommunityGalleryInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. PirCommunityGalleryResource - com.
azure. resourcemanager. compute. fluent. models. CommunityGalleryInner
- com.
- com.
public final class CommunityGalleryInner
extends PirCommunityGalleryResource
Specifies information about the Community Gallery that you want to create or update.
Constructor Summary
Constructor | Description |
---|---|
CommunityGalleryInner() |
Creates an instance of Community |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
artifactTags()
Get the artifact |
Community |
communityMetadata()
Get the community |
String |
disclaimer()
Get the disclaimer property: The disclaimer for a community gallery resource. |
static
Community |
fromJson(JsonReader jsonReader)
Reads an instance of Community |
String |
location()
Get the location property: Resource location. |
String |
name()
Get the name property: Resource name. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
String |
uniqueId()
Get the unique |
void |
validate()
Validates the instance. |
Community |
withArtifactTags(Map<String,String> artifactTags)
Set the artifact |
Community |
withCommunityMetadata(CommunityGalleryMetadata communityMetadata)
Set the community |
Community |
withDisclaimer(String disclaimer)
Set the disclaimer property: The disclaimer for a community gallery resource. |
Community |
withUniqueId(String uniqueId)
Set the unique |
Methods inherited from PirCommunityGalleryResource
Methods inherited from java.lang.Object
Constructor Details
CommunityGalleryInner
public CommunityGalleryInner()
Creates an instance of CommunityGalleryInner class.
Method Details
artifactTags
public Map
Get the artifactTags property: The artifact tags of a community gallery resource.
Returns:
communityMetadata
public CommunityGalleryMetadata communityMetadata()
Get the communityMetadata property: The metadata of community gallery.
Returns:
disclaimer
public String disclaimer()
Get the disclaimer property: The disclaimer for a community gallery resource.
Returns:
fromJson
public static CommunityGalleryInner fromJson(JsonReader jsonReader)
Reads an instance of CommunityGalleryInner from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: Resource location.
Overrides:
CommunityGalleryInner.location()Returns:
name
public String name()
Get the name property: Resource name.
Overrides:
CommunityGalleryInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CommunityGalleryInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Overrides:
CommunityGalleryInner.type()Returns:
uniqueId
public String uniqueId()
Get the uniqueId property: The unique id of this community gallery.
Overrides:
CommunityGalleryInner.uniqueId()Returns:
validate
public void validate()
Validates the instance.
Overrides:
CommunityGalleryInner.validate()withArtifactTags
public CommunityGalleryInner withArtifactTags(Map
Set the artifactTags property: The artifact tags of a community gallery resource.
Parameters:
Returns:
withCommunityMetadata
public CommunityGalleryInner withCommunityMetadata(CommunityGalleryMetadata communityMetadata)
Set the communityMetadata property: The metadata of community gallery.
Parameters:
Returns:
withDisclaimer
public CommunityGalleryInner withDisclaimer(String disclaimer)
Set the disclaimer property: The disclaimer for a community gallery resource.
Parameters:
Returns:
withUniqueId
public CommunityGalleryInner withUniqueId(String uniqueId)
Set the uniqueId property: The unique id of this community gallery.
Overrides:
CommunityGalleryInner.withUniqueId(String uniqueId)Parameters:
Returns:
Applies to
Azure SDK for Java