com.pulumi.azure.compute.outputs.SharedImageGallerySharingCommunityGallery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.compute.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SharedImageGallerySharingCommunityGallery {
/**
* @return The End User Licence Agreement for the Shared Image Gallery. Changing this forces a new resource to be created.
*
*/
private String eula;
/**
* @return Specifies the name of the Shared Image Gallery. Changing this forces a new resource to be created.
*
*/
private @Nullable String name;
/**
* @return Prefix of the community public name for the Shared Image Gallery. Changing this forces a new resource to be created.
*
*/
private String prefix;
/**
* @return Email of the publisher for the Shared Image Gallery. Changing this forces a new resource to be created.
*
*/
private String publisherEmail;
/**
* @return URI of the publisher for the Shared Image Gallery. Changing this forces a new resource to be created.
*
*/
private String publisherUri;
private SharedImageGallerySharingCommunityGallery() {}
/**
* @return The End User Licence Agreement for the Shared Image Gallery. Changing this forces a new resource to be created.
*
*/
public String eula() {
return this.eula;
}
/**
* @return Specifies the name of the Shared Image Gallery. Changing this forces a new resource to be created.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Prefix of the community public name for the Shared Image Gallery. Changing this forces a new resource to be created.
*
*/
public String prefix() {
return this.prefix;
}
/**
* @return Email of the publisher for the Shared Image Gallery. Changing this forces a new resource to be created.
*
*/
public String publisherEmail() {
return this.publisherEmail;
}
/**
* @return URI of the publisher for the Shared Image Gallery. Changing this forces a new resource to be created.
*
*/
public String publisherUri() {
return this.publisherUri;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SharedImageGallerySharingCommunityGallery defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String eula;
private @Nullable String name;
private String prefix;
private String publisherEmail;
private String publisherUri;
public Builder() {}
public Builder(SharedImageGallerySharingCommunityGallery defaults) {
Objects.requireNonNull(defaults);
this.eula = defaults.eula;
this.name = defaults.name;
this.prefix = defaults.prefix;
this.publisherEmail = defaults.publisherEmail;
this.publisherUri = defaults.publisherUri;
}
@CustomType.Setter
public Builder eula(String eula) {
if (eula == null) {
throw new MissingRequiredPropertyException("SharedImageGallerySharingCommunityGallery", "eula");
}
this.eula = eula;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder prefix(String prefix) {
if (prefix == null) {
throw new MissingRequiredPropertyException("SharedImageGallerySharingCommunityGallery", "prefix");
}
this.prefix = prefix;
return this;
}
@CustomType.Setter
public Builder publisherEmail(String publisherEmail) {
if (publisherEmail == null) {
throw new MissingRequiredPropertyException("SharedImageGallerySharingCommunityGallery", "publisherEmail");
}
this.publisherEmail = publisherEmail;
return this;
}
@CustomType.Setter
public Builder publisherUri(String publisherUri) {
if (publisherUri == null) {
throw new MissingRequiredPropertyException("SharedImageGallerySharingCommunityGallery", "publisherUri");
}
this.publisherUri = publisherUri;
return this;
}
public SharedImageGallerySharingCommunityGallery build() {
final var _resultValue = new SharedImageGallerySharingCommunityGallery();
_resultValue.eula = eula;
_resultValue.name = name;
_resultValue.prefix = prefix;
_resultValue.publisherEmail = publisherEmail;
_resultValue.publisherUri = publisherUri;
return _resultValue;
}
}
}