
com.pulumi.azurenative.datashare.outputs.GetShareResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.datashare.outputs;
import com.pulumi.azurenative.datashare.outputs.SystemDataResponse;
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 GetShareResult {
/**
* @return Time at which the share was created.
*
*/
private String createdAt;
/**
* @return Share description.
*
*/
private @Nullable String description;
/**
* @return The resource id of the azure resource
*
*/
private String id;
/**
* @return Name of the azure resource
*
*/
private String name;
/**
* @return Gets or sets the provisioning state
*
*/
private String provisioningState;
/**
* @return Share kind.
*
*/
private @Nullable String shareKind;
/**
* @return System Data of the Azure resource.
*
*/
private SystemDataResponse systemData;
/**
* @return Share terms.
*
*/
private @Nullable String terms;
/**
* @return Type of the azure resource
*
*/
private String type;
/**
* @return Email of the user who created the resource
*
*/
private String userEmail;
/**
* @return Name of the user who created the resource
*
*/
private String userName;
private GetShareResult() {}
/**
* @return Time at which the share was created.
*
*/
public String createdAt() {
return this.createdAt;
}
/**
* @return Share description.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return The resource id of the azure resource
*
*/
public String id() {
return this.id;
}
/**
* @return Name of the azure resource
*
*/
public String name() {
return this.name;
}
/**
* @return Gets or sets the provisioning state
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Share kind.
*
*/
public Optional shareKind() {
return Optional.ofNullable(this.shareKind);
}
/**
* @return System Data of the Azure resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Share terms.
*
*/
public Optional terms() {
return Optional.ofNullable(this.terms);
}
/**
* @return Type of the azure resource
*
*/
public String type() {
return this.type;
}
/**
* @return Email of the user who created the resource
*
*/
public String userEmail() {
return this.userEmail;
}
/**
* @return Name of the user who created the resource
*
*/
public String userName() {
return this.userName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetShareResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String createdAt;
private @Nullable String description;
private String id;
private String name;
private String provisioningState;
private @Nullable String shareKind;
private SystemDataResponse systemData;
private @Nullable String terms;
private String type;
private String userEmail;
private String userName;
public Builder() {}
public Builder(GetShareResult defaults) {
Objects.requireNonNull(defaults);
this.createdAt = defaults.createdAt;
this.description = defaults.description;
this.id = defaults.id;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.shareKind = defaults.shareKind;
this.systemData = defaults.systemData;
this.terms = defaults.terms;
this.type = defaults.type;
this.userEmail = defaults.userEmail;
this.userName = defaults.userName;
}
@CustomType.Setter
public Builder createdAt(String createdAt) {
if (createdAt == null) {
throw new MissingRequiredPropertyException("GetShareResult", "createdAt");
}
this.createdAt = createdAt;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetShareResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetShareResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetShareResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder shareKind(@Nullable String shareKind) {
this.shareKind = shareKind;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetShareResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder terms(@Nullable String terms) {
this.terms = terms;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetShareResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder userEmail(String userEmail) {
if (userEmail == null) {
throw new MissingRequiredPropertyException("GetShareResult", "userEmail");
}
this.userEmail = userEmail;
return this;
}
@CustomType.Setter
public Builder userName(String userName) {
if (userName == null) {
throw new MissingRequiredPropertyException("GetShareResult", "userName");
}
this.userName = userName;
return this;
}
public GetShareResult build() {
final var _resultValue = new GetShareResult();
_resultValue.createdAt = createdAt;
_resultValue.description = description;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.shareKind = shareKind;
_resultValue.systemData = systemData;
_resultValue.terms = terms;
_resultValue.type = type;
_resultValue.userEmail = userEmail;
_resultValue.userName = userName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy