com.pulumi.azurenative.batch.outputs.GetApplicationPackageResult 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.
The newest version!
// *** 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.batch.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetApplicationPackageResult {
/**
* @return The ETag of the resource, used for concurrency statements.
*
*/
private String etag;
/**
* @return The format of the application package, if the package is active.
*
*/
private String format;
/**
* @return The ID of the resource.
*
*/
private String id;
/**
* @return The time at which the package was last activated, if the package is active.
*
*/
private String lastActivationTime;
/**
* @return The name of the resource.
*
*/
private String name;
/**
* @return The current state of the application package.
*
*/
private String state;
/**
* @return The URL for the application package in Azure Storage.
*
*/
private String storageUrl;
/**
* @return The UTC time at which the Azure Storage URL will expire.
*
*/
private String storageUrlExpiry;
/**
* @return The type of the resource.
*
*/
private String type;
private GetApplicationPackageResult() {}
/**
* @return The ETag of the resource, used for concurrency statements.
*
*/
public String etag() {
return this.etag;
}
/**
* @return The format of the application package, if the package is active.
*
*/
public String format() {
return this.format;
}
/**
* @return The ID of the resource.
*
*/
public String id() {
return this.id;
}
/**
* @return The time at which the package was last activated, if the package is active.
*
*/
public String lastActivationTime() {
return this.lastActivationTime;
}
/**
* @return The name of the resource.
*
*/
public String name() {
return this.name;
}
/**
* @return The current state of the application package.
*
*/
public String state() {
return this.state;
}
/**
* @return The URL for the application package in Azure Storage.
*
*/
public String storageUrl() {
return this.storageUrl;
}
/**
* @return The UTC time at which the Azure Storage URL will expire.
*
*/
public String storageUrlExpiry() {
return this.storageUrlExpiry;
}
/**
* @return The type of the resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetApplicationPackageResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String etag;
private String format;
private String id;
private String lastActivationTime;
private String name;
private String state;
private String storageUrl;
private String storageUrlExpiry;
private String type;
public Builder() {}
public Builder(GetApplicationPackageResult defaults) {
Objects.requireNonNull(defaults);
this.etag = defaults.etag;
this.format = defaults.format;
this.id = defaults.id;
this.lastActivationTime = defaults.lastActivationTime;
this.name = defaults.name;
this.state = defaults.state;
this.storageUrl = defaults.storageUrl;
this.storageUrlExpiry = defaults.storageUrlExpiry;
this.type = defaults.type;
}
@CustomType.Setter
public Builder etag(String etag) {
if (etag == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageResult", "etag");
}
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder format(String format) {
if (format == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageResult", "format");
}
this.format = format;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder lastActivationTime(String lastActivationTime) {
if (lastActivationTime == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageResult", "lastActivationTime");
}
this.lastActivationTime = lastActivationTime;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder state(String state) {
if (state == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageResult", "state");
}
this.state = state;
return this;
}
@CustomType.Setter
public Builder storageUrl(String storageUrl) {
if (storageUrl == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageResult", "storageUrl");
}
this.storageUrl = storageUrl;
return this;
}
@CustomType.Setter
public Builder storageUrlExpiry(String storageUrlExpiry) {
if (storageUrlExpiry == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageResult", "storageUrlExpiry");
}
this.storageUrlExpiry = storageUrlExpiry;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetApplicationPackageResult", "type");
}
this.type = type;
return this;
}
public GetApplicationPackageResult build() {
final var _resultValue = new GetApplicationPackageResult();
_resultValue.etag = etag;
_resultValue.format = format;
_resultValue.id = id;
_resultValue.lastActivationTime = lastActivationTime;
_resultValue.name = name;
_resultValue.state = state;
_resultValue.storageUrl = storageUrl;
_resultValue.storageUrlExpiry = storageUrlExpiry;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy