
com.pulumi.azurenative.storageactions.outputs.GetStorageTaskResult 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.storageactions.outputs;
import com.pulumi.azurenative.storageactions.outputs.ManagedServiceIdentityResponse;
import com.pulumi.azurenative.storageactions.outputs.StorageTaskActionResponse;
import com.pulumi.azurenative.storageactions.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class GetStorageTaskResult {
/**
* @return The storage task action that is executed
*
*/
private StorageTaskActionResponse action;
/**
* @return The creation date and time of the storage task in UTC.
*
*/
private String creationTimeInUtc;
/**
* @return Text that describes the purpose of the storage task
*
*/
private String description;
/**
* @return Storage Task is enabled when set to true and disabled when set to false
*
*/
private Boolean enabled;
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
private String id;
/**
* @return The managed service identity of the resource.
*
*/
private ManagedServiceIdentityResponse identity;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Represents the provisioning state of the storage task.
*
*/
private String provisioningState;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return Storage task version.
*
*/
private Double taskVersion;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetStorageTaskResult() {}
/**
* @return The storage task action that is executed
*
*/
public StorageTaskActionResponse action() {
return this.action;
}
/**
* @return The creation date and time of the storage task in UTC.
*
*/
public String creationTimeInUtc() {
return this.creationTimeInUtc;
}
/**
* @return Text that describes the purpose of the storage task
*
*/
public String description() {
return this.description;
}
/**
* @return Storage Task is enabled when set to true and disabled when set to false
*
*/
public Boolean enabled() {
return this.enabled;
}
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
public String id() {
return this.id;
}
/**
* @return The managed service identity of the resource.
*
*/
public ManagedServiceIdentityResponse identity() {
return this.identity;
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Represents the provisioning state of the storage task.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Storage task version.
*
*/
public Double taskVersion() {
return this.taskVersion;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetStorageTaskResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private StorageTaskActionResponse action;
private String creationTimeInUtc;
private String description;
private Boolean enabled;
private String id;
private ManagedServiceIdentityResponse identity;
private String location;
private String name;
private String provisioningState;
private SystemDataResponse systemData;
private @Nullable Map tags;
private Double taskVersion;
private String type;
public Builder() {}
public Builder(GetStorageTaskResult defaults) {
Objects.requireNonNull(defaults);
this.action = defaults.action;
this.creationTimeInUtc = defaults.creationTimeInUtc;
this.description = defaults.description;
this.enabled = defaults.enabled;
this.id = defaults.id;
this.identity = defaults.identity;
this.location = defaults.location;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.taskVersion = defaults.taskVersion;
this.type = defaults.type;
}
@CustomType.Setter
public Builder action(StorageTaskActionResponse action) {
if (action == null) {
throw new MissingRequiredPropertyException("GetStorageTaskResult", "action");
}
this.action = action;
return this;
}
@CustomType.Setter
public Builder creationTimeInUtc(String creationTimeInUtc) {
if (creationTimeInUtc == null) {
throw new MissingRequiredPropertyException("GetStorageTaskResult", "creationTimeInUtc");
}
this.creationTimeInUtc = creationTimeInUtc;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetStorageTaskResult", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder enabled(Boolean enabled) {
if (enabled == null) {
throw new MissingRequiredPropertyException("GetStorageTaskResult", "enabled");
}
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetStorageTaskResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(ManagedServiceIdentityResponse identity) {
if (identity == null) {
throw new MissingRequiredPropertyException("GetStorageTaskResult", "identity");
}
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetStorageTaskResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetStorageTaskResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetStorageTaskResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetStorageTaskResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder taskVersion(Double taskVersion) {
if (taskVersion == null) {
throw new MissingRequiredPropertyException("GetStorageTaskResult", "taskVersion");
}
this.taskVersion = taskVersion;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetStorageTaskResult", "type");
}
this.type = type;
return this;
}
public GetStorageTaskResult build() {
final var _resultValue = new GetStorageTaskResult();
_resultValue.action = action;
_resultValue.creationTimeInUtc = creationTimeInUtc;
_resultValue.description = description;
_resultValue.enabled = enabled;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.taskVersion = taskVersion;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy