Class LocationObjectStorageState.Builder

  • Enclosing class:
    LocationObjectStorageState

    public static final class LocationObjectStorageState.Builder
    extends java.lang.Object
    • Method Detail

      • accessKey

        public LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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
      • arn

        public LocationObjectStorageState.Builder arn​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the DataSync Location.
        Returns:
        builder
      • bucketName

        public LocationObjectStorageState.Builder bucketName​(@Nullable
                                                             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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.Builder serverHostname​(@Nullable
                                                                 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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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 LocationObjectStorageState.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
      • tagsAll

        public LocationObjectStorageState.Builder tagsAll​(@Nullable
                                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public LocationObjectStorageState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • uri

        public LocationObjectStorageState.Builder uri​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> uri)
        Parameters:
        uri - The URL of the Object Storage location that was described.
        Returns:
        builder
      • uri

        public LocationObjectStorageState.Builder uri​(java.lang.String uri)
        Parameters:
        uri - The URL of the Object Storage location that was described.
        Returns:
        builder