CommunityGalleryInfo Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. CommunityGalleryInfo
- com.
Implements
public final class CommunityGalleryInfo
implements JsonSerializable<CommunityGalleryInfo>
Information of community gallery if current gallery is shared to community.
Constructor Summary
Constructor | Description |
---|---|
CommunityGalleryInfo() |
Creates an instance of Community |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
communityGalleryEnabled()
Get the community |
String |
eula()
Get the eula property: End-user license agreement for community gallery image. |
static
Community |
fromJson(JsonReader jsonReader)
Reads an instance of Community |
String |
publicNamePrefix()
Get the public |
List<String> |
publicNames()
Get the public |
String |
publisherContact()
Get the publisher |
String |
publisherUri()
Get the publisher |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Community |
withEula(String eula)
Set the eula property: End-user license agreement for community gallery image. |
Community |
withPublicNamePrefix(String publicNamePrefix)
Set the public |
Community |
withPublisherContact(String publisherContact)
Set the publisher |
Community |
withPublisherUri(String publisherUri)
Set the publisher |
Methods inherited from java.lang.Object
Constructor Details
CommunityGalleryInfo
public CommunityGalleryInfo()
Creates an instance of CommunityGalleryInfo class.
Method Details
communityGalleryEnabled
public Boolean communityGalleryEnabled()
Get the communityGalleryEnabled property: Contains info about whether community gallery sharing is enabled.
Returns:
eula
public String eula()
Get the eula property: End-user license agreement for community gallery image.
Returns:
fromJson
public static CommunityGalleryInfo fromJson(JsonReader jsonReader)
Reads an instance of CommunityGalleryInfo from the JsonReader.
Parameters:
Returns:
Throws:
publicNamePrefix
public String publicNamePrefix()
Get the publicNamePrefix property: The prefix of the gallery name that will be displayed publicly. Visible to all users.
Returns:
publicNames
public List
Get the publicNames property: Community gallery public name list.
Returns:
publisherContact
public String publisherContact()
Get the publisherContact property: Community gallery publisher support email. The email address of the publisher. Visible to all users.
Returns:
publisherUri
public String publisherUri()
Get the publisherUri property: The link to the publisher website. Visible to all users.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEula
public CommunityGalleryInfo withEula(String eula)
Set the eula property: End-user license agreement for community gallery image.
Parameters:
Returns:
withPublicNamePrefix
public CommunityGalleryInfo withPublicNamePrefix(String publicNamePrefix)
Set the publicNamePrefix property: The prefix of the gallery name that will be displayed publicly. Visible to all users.
Parameters:
Returns:
withPublisherContact
public CommunityGalleryInfo withPublisherContact(String publisherContact)
Set the publisherContact property: Community gallery publisher support email. The email address of the publisher. Visible to all users.
Parameters:
Returns:
withPublisherUri
public CommunityGalleryInfo withPublisherUri(String publisherUri)
Set the publisherUri property: The link to the publisher website. Visible to all users.
Parameters:
Returns:
Applies to
Azure SDK for Java