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

com.pulumi.aws.dlm.inputs.LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
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.aws.dlm.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs extends com.pulumi.resources.ResourceArgs {

    public static final LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs Empty = new LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs();

    @Import(name="count")
    private @Nullable Output count;

    public Optional> count() {
        return Optional.ofNullable(this.count);
    }

    @Import(name="interval")
    private @Nullable Output interval;

    public Optional> interval() {
        return Optional.ofNullable(this.interval);
    }

    @Import(name="intervalUnit")
    private @Nullable Output intervalUnit;

    public Optional> intervalUnit() {
        return Optional.ofNullable(this.intervalUnit);
    }

    private LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs() {}

    private LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs(LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs $) {
        this.count = $.count;
        this.interval = $.interval;
        this.intervalUnit = $.intervalUnit;
    }

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

    public static final class Builder {
        private LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs $;

        public Builder() {
            $ = new LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs();
        }

        public Builder(LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs defaults) {
            $ = new LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs(Objects.requireNonNull(defaults));
        }

        public Builder count(@Nullable Output count) {
            $.count = count;
            return this;
        }

        public Builder count(Integer count) {
            return count(Output.of(count));
        }

        public Builder interval(@Nullable Output interval) {
            $.interval = interval;
            return this;
        }

        public Builder interval(Integer interval) {
            return interval(Output.of(interval));
        }

        public Builder intervalUnit(@Nullable Output intervalUnit) {
            $.intervalUnit = intervalUnit;
            return this;
        }

        public Builder intervalUnit(String intervalUnit) {
            return intervalUnit(Output.of(intervalUnit));
        }

        public LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy