com.pulumi.azurenative.storage.outputs.KeyPolicyResponse 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.Integer;
import java.util.Objects;
@CustomType
public final class KeyPolicyResponse {
/**
* @return The key expiration period in days.
*
*/
private Integer keyExpirationPeriodInDays;
private KeyPolicyResponse() {}
/**
* @return The key expiration period in days.
*
*/
public Integer keyExpirationPeriodInDays() {
return this.keyExpirationPeriodInDays;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KeyPolicyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer keyExpirationPeriodInDays;
public Builder() {}
public Builder(KeyPolicyResponse defaults) {
Objects.requireNonNull(defaults);
this.keyExpirationPeriodInDays = defaults.keyExpirationPeriodInDays;
}
@CustomType.Setter
public Builder keyExpirationPeriodInDays(Integer keyExpirationPeriodInDays) {
if (keyExpirationPeriodInDays == null) {
throw new MissingRequiredPropertyException("KeyPolicyResponse", "keyExpirationPeriodInDays");
}
this.keyExpirationPeriodInDays = keyExpirationPeriodInDays;
return this;
}
public KeyPolicyResponse build() {
final var _resultValue = new KeyPolicyResponse();
_resultValue.keyExpirationPeriodInDays = keyExpirationPeriodInDays;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy