
com.pulumi.azurenative.storage.outputs.StorageAccountKeyResponse 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.storage.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class StorageAccountKeyResponse {
/**
* @return Creation time of the key, in round trip date format.
*
*/
private String creationTime;
/**
* @return Name of the key.
*
*/
private String keyName;
/**
* @return Permissions for the key -- read-only or full permissions.
*
*/
private String permissions;
/**
* @return Base 64-encoded value of the key.
*
*/
private String value;
private StorageAccountKeyResponse() {}
/**
* @return Creation time of the key, in round trip date format.
*
*/
public String creationTime() {
return this.creationTime;
}
/**
* @return Name of the key.
*
*/
public String keyName() {
return this.keyName;
}
/**
* @return Permissions for the key -- read-only or full permissions.
*
*/
public String permissions() {
return this.permissions;
}
/**
* @return Base 64-encoded value of the key.
*
*/
public String value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StorageAccountKeyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String creationTime;
private String keyName;
private String permissions;
private String value;
public Builder() {}
public Builder(StorageAccountKeyResponse defaults) {
Objects.requireNonNull(defaults);
this.creationTime = defaults.creationTime;
this.keyName = defaults.keyName;
this.permissions = defaults.permissions;
this.value = defaults.value;
}
@CustomType.Setter
public Builder creationTime(String creationTime) {
if (creationTime == null) {
throw new MissingRequiredPropertyException("StorageAccountKeyResponse", "creationTime");
}
this.creationTime = creationTime;
return this;
}
@CustomType.Setter
public Builder keyName(String keyName) {
if (keyName == null) {
throw new MissingRequiredPropertyException("StorageAccountKeyResponse", "keyName");
}
this.keyName = keyName;
return this;
}
@CustomType.Setter
public Builder permissions(String permissions) {
if (permissions == null) {
throw new MissingRequiredPropertyException("StorageAccountKeyResponse", "permissions");
}
this.permissions = permissions;
return this;
}
@CustomType.Setter
public Builder value(String value) {
if (value == null) {
throw new MissingRequiredPropertyException("StorageAccountKeyResponse", "value");
}
this.value = value;
return this;
}
public StorageAccountKeyResponse build() {
final var _resultValue = new StorageAccountKeyResponse();
_resultValue.creationTime = creationTime;
_resultValue.keyName = keyName;
_resultValue.permissions = permissions;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy