Class S3LocationArgs.Builder

  • Enclosing class:
    S3LocationArgs

    public static final class S3LocationArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • agentArns

        public S3LocationArgs.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.
        Returns:
        builder
      • agentArns

        public S3LocationArgs.Builder agentArns​(java.util.List<java.lang.String> agentArns)
        Parameters:
        agentArns - A list of DataSync Agent ARNs with which this location will be associated.
        Returns:
        builder
      • agentArns

        public S3LocationArgs.Builder agentArns​(java.lang.String... agentArns)
        Parameters:
        agentArns - A list of DataSync Agent ARNs with which this location will be associated.
        Returns:
        builder
      • s3BucketArn

        public S3LocationArgs.Builder s3BucketArn​(com.pulumi.core.Output<java.lang.String> s3BucketArn)
        Parameters:
        s3BucketArn - Amazon Resource Name (ARN) of the S3 Bucket.
        Returns:
        builder
      • s3BucketArn

        public S3LocationArgs.Builder s3BucketArn​(java.lang.String s3BucketArn)
        Parameters:
        s3BucketArn - Amazon Resource Name (ARN) of the S3 Bucket.
        Returns:
        builder
      • s3StorageClass

        public S3LocationArgs.Builder s3StorageClass​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> s3StorageClass)
        Parameters:
        s3StorageClass - The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. [Valid values](https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes)
        Returns:
        builder
      • s3StorageClass

        public S3LocationArgs.Builder s3StorageClass​(java.lang.String s3StorageClass)
        Parameters:
        s3StorageClass - The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. [Valid values](https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes)
        Returns:
        builder
      • subdirectory

        public S3LocationArgs.Builder subdirectory​(com.pulumi.core.Output<java.lang.String> subdirectory)
        Parameters:
        subdirectory - Prefix to perform actions as source or destination.
        Returns:
        builder
      • subdirectory

        public S3LocationArgs.Builder subdirectory​(java.lang.String subdirectory)
        Parameters:
        subdirectory - Prefix to perform actions as source or destination.
        Returns:
        builder
      • tags

        public S3LocationArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public S3LocationArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder