All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.storage.outputs.KeyPolicyResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show 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.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