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

com.pulumi.azurenative.awsconnector.outputs.HostVolumePropertiesResponse 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.azurenative.awsconnector.outputs;

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

@CustomType
public final class HostVolumePropertiesResponse {
    /**
     * @return When the ``host`` parameter is used, specify a ``sourcePath`` to declare the path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the ``host`` parameter contains a ``sourcePath`` file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the ``sourcePath`` value doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported. If you're using the Fargate launch type, the ``sourcePath`` parameter is not supported.
     * 
     */
    private @Nullable String sourcePath;

    private HostVolumePropertiesResponse() {}
    /**
     * @return When the ``host`` parameter is used, specify a ``sourcePath`` to declare the path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the ``host`` parameter contains a ``sourcePath`` file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the ``sourcePath`` value doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported. If you're using the Fargate launch type, the ``sourcePath`` parameter is not supported.
     * 
     */
    public Optional sourcePath() {
        return Optional.ofNullable(this.sourcePath);
    }

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

    public static Builder builder(HostVolumePropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String sourcePath;
        public Builder() {}
        public Builder(HostVolumePropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.sourcePath = defaults.sourcePath;
        }

        @CustomType.Setter
        public Builder sourcePath(@Nullable String sourcePath) {

            this.sourcePath = sourcePath;
            return this;
        }
        public HostVolumePropertiesResponse build() {
            final var _resultValue = new HostVolumePropertiesResponse();
            _resultValue.sourcePath = sourcePath;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy