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

com.pulumi.aws.ecs.outputs.ClusterConfiguration 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.ecs.outputs;

import com.pulumi.aws.ecs.outputs.ClusterConfigurationExecuteCommandConfiguration;
import com.pulumi.aws.ecs.outputs.ClusterConfigurationManagedStorageConfiguration;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ClusterConfiguration {
    /**
     * @return Details of the execute command configuration. See `execute_command_configuration` Block for details.
     * 
     */
    private @Nullable ClusterConfigurationExecuteCommandConfiguration executeCommandConfiguration;
    /**
     * @return Details of the managed storage configuration. See `managed_storage_configuration` Block for details.
     * 
     */
    private @Nullable ClusterConfigurationManagedStorageConfiguration managedStorageConfiguration;

    private ClusterConfiguration() {}
    /**
     * @return Details of the execute command configuration. See `execute_command_configuration` Block for details.
     * 
     */
    public Optional executeCommandConfiguration() {
        return Optional.ofNullable(this.executeCommandConfiguration);
    }
    /**
     * @return Details of the managed storage configuration. See `managed_storage_configuration` Block for details.
     * 
     */
    public Optional managedStorageConfiguration() {
        return Optional.ofNullable(this.managedStorageConfiguration);
    }

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

    public static Builder builder(ClusterConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ClusterConfigurationExecuteCommandConfiguration executeCommandConfiguration;
        private @Nullable ClusterConfigurationManagedStorageConfiguration managedStorageConfiguration;
        public Builder() {}
        public Builder(ClusterConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.executeCommandConfiguration = defaults.executeCommandConfiguration;
    	      this.managedStorageConfiguration = defaults.managedStorageConfiguration;
        }

        @CustomType.Setter
        public Builder executeCommandConfiguration(@Nullable ClusterConfigurationExecuteCommandConfiguration executeCommandConfiguration) {

            this.executeCommandConfiguration = executeCommandConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder managedStorageConfiguration(@Nullable ClusterConfigurationManagedStorageConfiguration managedStorageConfiguration) {

            this.managedStorageConfiguration = managedStorageConfiguration;
            return this;
        }
        public ClusterConfiguration build() {
            final var _resultValue = new ClusterConfiguration();
            _resultValue.executeCommandConfiguration = executeCommandConfiguration;
            _resultValue.managedStorageConfiguration = managedStorageConfiguration;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy