
com.pulumi.azurenative.media.outputs.StorageAccountResponse 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.media.outputs;
import com.pulumi.azurenative.media.outputs.ResourceIdentityResponse;
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 StorageAccountResponse {
/**
* @return The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.
*
*/
private @Nullable String id;
/**
* @return The storage account identity.
*
*/
private @Nullable ResourceIdentityResponse identity;
/**
* @return The current status of the storage account mapping.
*
*/
private String status;
/**
* @return The type of the storage account.
*
*/
private String type;
private StorageAccountResponse() {}
/**
* @return The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return The storage account identity.
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return The current status of the storage account mapping.
*
*/
public String status() {
return this.status;
}
/**
* @return The type of the storage account.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StorageAccountResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private @Nullable ResourceIdentityResponse identity;
private String status;
private String type;
public Builder() {}
public Builder(StorageAccountResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.identity = defaults.identity;
this.status = defaults.status;
this.type = defaults.type;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable ResourceIdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("StorageAccountResponse", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("StorageAccountResponse", "type");
}
this.type = type;
return this;
}
public StorageAccountResponse build() {
final var _resultValue = new StorageAccountResponse();
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.status = status;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy