com.pulumi.azurenative.synapse.outputs.LibraryInfoResponse 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.synapse.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 LibraryInfoResponse {
/**
* @return Storage blob container name.
*
*/
private @Nullable String containerName;
/**
* @return Creator Id of the library/package.
*
*/
private String creatorId;
/**
* @return Name of the library.
*
*/
private @Nullable String name;
/**
* @return Storage blob path of library.
*
*/
private @Nullable String path;
/**
* @return Provisioning status of the library/package.
*
*/
private String provisioningStatus;
/**
* @return Type of the library.
*
*/
private @Nullable String type;
/**
* @return The last update time of the library.
*
*/
private String uploadedTimestamp;
private LibraryInfoResponse() {}
/**
* @return Storage blob container name.
*
*/
public Optional containerName() {
return Optional.ofNullable(this.containerName);
}
/**
* @return Creator Id of the library/package.
*
*/
public String creatorId() {
return this.creatorId;
}
/**
* @return Name of the library.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Storage blob path of library.
*
*/
public Optional path() {
return Optional.ofNullable(this.path);
}
/**
* @return Provisioning status of the library/package.
*
*/
public String provisioningStatus() {
return this.provisioningStatus;
}
/**
* @return Type of the library.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
/**
* @return The last update time of the library.
*
*/
public String uploadedTimestamp() {
return this.uploadedTimestamp;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LibraryInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String containerName;
private String creatorId;
private @Nullable String name;
private @Nullable String path;
private String provisioningStatus;
private @Nullable String type;
private String uploadedTimestamp;
public Builder() {}
public Builder(LibraryInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.containerName = defaults.containerName;
this.creatorId = defaults.creatorId;
this.name = defaults.name;
this.path = defaults.path;
this.provisioningStatus = defaults.provisioningStatus;
this.type = defaults.type;
this.uploadedTimestamp = defaults.uploadedTimestamp;
}
@CustomType.Setter
public Builder containerName(@Nullable String containerName) {
this.containerName = containerName;
return this;
}
@CustomType.Setter
public Builder creatorId(String creatorId) {
if (creatorId == null) {
throw new MissingRequiredPropertyException("LibraryInfoResponse", "creatorId");
}
this.creatorId = creatorId;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder path(@Nullable String path) {
this.path = path;
return this;
}
@CustomType.Setter
public Builder provisioningStatus(String provisioningStatus) {
if (provisioningStatus == null) {
throw new MissingRequiredPropertyException("LibraryInfoResponse", "provisioningStatus");
}
this.provisioningStatus = provisioningStatus;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
@CustomType.Setter
public Builder uploadedTimestamp(String uploadedTimestamp) {
if (uploadedTimestamp == null) {
throw new MissingRequiredPropertyException("LibraryInfoResponse", "uploadedTimestamp");
}
this.uploadedTimestamp = uploadedTimestamp;
return this;
}
public LibraryInfoResponse build() {
final var _resultValue = new LibraryInfoResponse();
_resultValue.containerName = containerName;
_resultValue.creatorId = creatorId;
_resultValue.name = name;
_resultValue.path = path;
_resultValue.provisioningStatus = provisioningStatus;
_resultValue.type = type;
_resultValue.uploadedTimestamp = uploadedTimestamp;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy