Package com.pulumi.aws.datasync
Class LocationObjectStorageArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.datasync.LocationObjectStorageArgs.Builder
-
- Enclosing class:
- LocationObjectStorageArgs
public static final class LocationObjectStorageArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(LocationObjectStorageArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationObjectStorageArgs.BuilderaccessKey(com.pulumi.core.Output<java.lang.String> accessKey)LocationObjectStorageArgs.BuilderaccessKey(java.lang.String accessKey)LocationObjectStorageArgs.BuilderagentArns(com.pulumi.core.Output<java.util.List<java.lang.String>> agentArns)LocationObjectStorageArgs.BuilderagentArns(java.lang.String... agentArns)LocationObjectStorageArgs.BuilderagentArns(java.util.List<java.lang.String> agentArns)LocationObjectStorageArgs.BuilderbucketName(com.pulumi.core.Output<java.lang.String> bucketName)LocationObjectStorageArgs.BuilderbucketName(java.lang.String bucketName)LocationObjectStorageArgsbuild()LocationObjectStorageArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)LocationObjectStorageArgs.Builderregion(java.lang.String region)LocationObjectStorageArgs.BuildersecretKey(com.pulumi.core.Output<java.lang.String> secretKey)LocationObjectStorageArgs.BuildersecretKey(java.lang.String secretKey)LocationObjectStorageArgs.BuilderserverCertificate(com.pulumi.core.Output<java.lang.String> serverCertificate)LocationObjectStorageArgs.BuilderserverCertificate(java.lang.String serverCertificate)LocationObjectStorageArgs.BuilderserverHostname(com.pulumi.core.Output<java.lang.String> serverHostname)LocationObjectStorageArgs.BuilderserverHostname(java.lang.String serverHostname)LocationObjectStorageArgs.BuilderserverPort(com.pulumi.core.Output<java.lang.Integer> serverPort)LocationObjectStorageArgs.BuilderserverPort(java.lang.Integer serverPort)LocationObjectStorageArgs.BuilderserverProtocol(com.pulumi.core.Output<java.lang.String> serverProtocol)LocationObjectStorageArgs.BuilderserverProtocol(java.lang.String serverProtocol)LocationObjectStorageArgs.Buildersubdirectory(com.pulumi.core.Output<java.lang.String> subdirectory)LocationObjectStorageArgs.Buildersubdirectory(java.lang.String subdirectory)LocationObjectStorageArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)LocationObjectStorageArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LocationObjectStorageArgs defaults)
-
-
Method Detail
-
accessKey
public LocationObjectStorageArgs.Builder accessKey(@Nullable com.pulumi.core.Output<java.lang.String> accessKey)
- Parameters:
accessKey- The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use `accessKey` and `secretKey` to provide the user name and password, respectively.- Returns:
- builder
-
accessKey
public LocationObjectStorageArgs.Builder accessKey(java.lang.String accessKey)
- Parameters:
accessKey- The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use `accessKey` and `secretKey` to provide the user name and password, respectively.- Returns:
- builder
-
agentArns
public LocationObjectStorageArgs.Builder agentArns(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> agentArns)
- Parameters:
agentArns- A list of DataSync Agent ARNs with which this location will be associated. For agentless cross-cloud transfers, this parameter does not need to be specified.- Returns:
- builder
-
agentArns
public LocationObjectStorageArgs.Builder agentArns(java.util.List<java.lang.String> agentArns)
- Parameters:
agentArns- A list of DataSync Agent ARNs with which this location will be associated. For agentless cross-cloud transfers, this parameter does not need to be specified.- Returns:
- builder
-
agentArns
public LocationObjectStorageArgs.Builder agentArns(java.lang.String... agentArns)
- Parameters:
agentArns- A list of DataSync Agent ARNs with which this location will be associated. For agentless cross-cloud transfers, this parameter does not need to be specified.- Returns:
- builder
-
bucketName
public LocationObjectStorageArgs.Builder bucketName(com.pulumi.core.Output<java.lang.String> bucketName)
- Parameters:
bucketName- The bucket on the self-managed object storage server that is used to read data from.- Returns:
- builder
-
bucketName
public LocationObjectStorageArgs.Builder bucketName(java.lang.String bucketName)
- Parameters:
bucketName- The bucket on the self-managed object storage server that is used to read data from.- Returns:
- builder
-
region
public LocationObjectStorageArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public LocationObjectStorageArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
secretKey
public LocationObjectStorageArgs.Builder secretKey(@Nullable com.pulumi.core.Output<java.lang.String> secretKey)
- Parameters:
secretKey- The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use `accessKey` and `secretKey` to provide the user name and password, respectively.- Returns:
- builder
-
secretKey
public LocationObjectStorageArgs.Builder secretKey(java.lang.String secretKey)
- Parameters:
secretKey- The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use `accessKey` and `secretKey` to provide the user name and password, respectively.- Returns:
- builder
-
serverCertificate
public LocationObjectStorageArgs.Builder serverCertificate(@Nullable com.pulumi.core.Output<java.lang.String> serverCertificate)
- Parameters:
serverCertificate- Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).- Returns:
- builder
-
serverCertificate
public LocationObjectStorageArgs.Builder serverCertificate(java.lang.String serverCertificate)
- Parameters:
serverCertificate- Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).- Returns:
- builder
-
serverHostname
public LocationObjectStorageArgs.Builder serverHostname(com.pulumi.core.Output<java.lang.String> serverHostname)
- Parameters:
serverHostname- The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this host name to mount the object storage server in a network.- Returns:
- builder
-
serverHostname
public LocationObjectStorageArgs.Builder serverHostname(java.lang.String serverHostname)
- Parameters:
serverHostname- The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this host name to mount the object storage server in a network.- Returns:
- builder
-
serverPort
public LocationObjectStorageArgs.Builder serverPort(@Nullable com.pulumi.core.Output<java.lang.Integer> serverPort)
- Parameters:
serverPort- The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (`HTTP`) or TCP 443 (`HTTPS`). You can specify a custom port if your self-managed object storage server requires one.- Returns:
- builder
-
serverPort
public LocationObjectStorageArgs.Builder serverPort(java.lang.Integer serverPort)
- Parameters:
serverPort- The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (`HTTP`) or TCP 443 (`HTTPS`). You can specify a custom port if your self-managed object storage server requires one.- Returns:
- builder
-
serverProtocol
public LocationObjectStorageArgs.Builder serverProtocol(@Nullable com.pulumi.core.Output<java.lang.String> serverProtocol)
- Parameters:
serverProtocol- The protocol that the object storage server uses to communicate. Valid values are `HTTP` or `HTTPS`.- Returns:
- builder
-
serverProtocol
public LocationObjectStorageArgs.Builder serverProtocol(java.lang.String serverProtocol)
- Parameters:
serverProtocol- The protocol that the object storage server uses to communicate. Valid values are `HTTP` or `HTTPS`.- Returns:
- builder
-
subdirectory
public LocationObjectStorageArgs.Builder subdirectory(@Nullable com.pulumi.core.Output<java.lang.String> subdirectory)
- Parameters:
subdirectory- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.- Returns:
- builder
-
subdirectory
public LocationObjectStorageArgs.Builder subdirectory(java.lang.String subdirectory)
- Parameters:
subdirectory- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.- Returns:
- builder
-
tags
public LocationObjectStorageArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public LocationObjectStorageArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
build
public LocationObjectStorageArgs build()
-
-