CommunityGalleryMetadata Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. CommunityGalleryMetadata
- com.
Implements
public final class CommunityGalleryMetadata
implements JsonSerializable<CommunityGalleryMetadata>
The metadata of community gallery.
Constructor Summary
Constructor | Description |
---|---|
CommunityGalleryMetadata() |
Creates an instance of Community |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
eula()
Get the eula property: The end-user license agreement for this community gallery. |
static
Community |
fromJson(JsonReader jsonReader)
Reads an instance of Community |
String |
privacyStatementUri()
Get the privacy |
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: The end-user license agreement for this community gallery. |
Community |
withPrivacyStatementUri(String privacyStatementUri)
Set the privacy |
Community |
withPublicNames(List<String> publicNames)
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
CommunityGalleryMetadata
public CommunityGalleryMetadata()
Creates an instance of CommunityGalleryMetadata class.
Method Details
eula
public String eula()
Get the eula property: The end-user license agreement for this community gallery.
Returns:
fromJson
public static CommunityGalleryMetadata fromJson(JsonReader jsonReader)
Reads an instance of CommunityGalleryMetadata from the JsonReader.
Parameters:
Returns:
Throws:
privacyStatementUri
public String privacyStatementUri()
Get the privacyStatementUri property: The link for the privacy statement of this community gallery from the gallery publisher.
Returns:
publicNames
public List
Get the publicNames property: A list of public names the gallery has.
Returns:
publisherContact
public String publisherContact()
Get the publisherContact property: The publisher email id of this community gallery.
Returns:
publisherUri
public String publisherUri()
Get the publisherUri property: The publisher URI of this community gallery.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEula
public CommunityGalleryMetadata withEula(String eula)
Set the eula property: The end-user license agreement for this community gallery.
Parameters:
Returns:
withPrivacyStatementUri
public CommunityGalleryMetadata withPrivacyStatementUri(String privacyStatementUri)
Set the privacyStatementUri property: The link for the privacy statement of this community gallery from the gallery publisher.
Parameters:
Returns:
withPublicNames
public CommunityGalleryMetadata withPublicNames(List
Set the publicNames property: A list of public names the gallery has.
Parameters:
Returns:
withPublisherContact
public CommunityGalleryMetadata withPublisherContact(String publisherContact)
Set the publisherContact property: The publisher email id of this community gallery.
Parameters:
Returns:
withPublisherUri
public CommunityGalleryMetadata withPublisherUri(String publisherUri)
Set the publisherUri property: The publisher URI of this community gallery.
Parameters:
Returns:
Applies to
Azure SDK for Java