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

com.pulumi.aws.dlm.outputs.LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.dlm.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule {
    private Integer interval;
    private String intervalUnit;

    private LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule() {}
    public Integer interval() {
        return this.interval;
    }
    public String intervalUnit() {
        return this.intervalUnit;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer interval;
        private String intervalUnit;
        public Builder() {}
        public Builder(LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.interval = defaults.interval;
    	      this.intervalUnit = defaults.intervalUnit;
        }

        @CustomType.Setter
        public Builder interval(Integer interval) {
            if (interval == null) {
              throw new MissingRequiredPropertyException("LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule", "interval");
            }
            this.interval = interval;
            return this;
        }
        @CustomType.Setter
        public Builder intervalUnit(String intervalUnit) {
            if (intervalUnit == null) {
              throw new MissingRequiredPropertyException("LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule", "intervalUnit");
            }
            this.intervalUnit = intervalUnit;
            return this;
        }
        public LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule build() {
            final var _resultValue = new LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule();
            _resultValue.interval = interval;
            _resultValue.intervalUnit = intervalUnit;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy