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

com.pulumi.aws.ssm.inputs.ResourceDataSyncState Maven / Gradle / Ivy

// *** 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.ssm.inputs;

import com.pulumi.aws.ssm.inputs.ResourceDataSyncS3DestinationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ResourceDataSyncState Empty = new ResourceDataSyncState();

    /**
     * Name for the configuration.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name for the configuration.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Amazon S3 configuration details for the sync.
     * 
     */
    @Import(name="s3Destination")
    private @Nullable Output s3Destination;

    /**
     * @return Amazon S3 configuration details for the sync.
     * 
     */
    public Optional> s3Destination() {
        return Optional.ofNullable(this.s3Destination);
    }

    private ResourceDataSyncState() {}

    private ResourceDataSyncState(ResourceDataSyncState $) {
        this.name = $.name;
        this.s3Destination = $.s3Destination;
    }

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

    public static final class Builder {
        private ResourceDataSyncState $;

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

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

        /**
         * @param name Name for the configuration.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name for the configuration.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param s3Destination Amazon S3 configuration details for the sync.
         * 
         * @return builder
         * 
         */
        public Builder s3Destination(@Nullable Output s3Destination) {
            $.s3Destination = s3Destination;
            return this;
        }

        /**
         * @param s3Destination Amazon S3 configuration details for the sync.
         * 
         * @return builder
         * 
         */
        public Builder s3Destination(ResourceDataSyncS3DestinationArgs s3Destination) {
            return s3Destination(Output.of(s3Destination));
        }

        public ResourceDataSyncState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy