Package com.pulumi.aws.datasync
Class S3LocationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.datasync.S3LocationArgs.Builder
-
- Enclosing class:
- S3LocationArgs
public static final class S3LocationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(S3LocationArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S3LocationArgs.Builder
agentArns(com.pulumi.core.Output<java.util.List<java.lang.String>> agentArns)
S3LocationArgs.Builder
agentArns(java.lang.String... agentArns)
S3LocationArgs.Builder
agentArns(java.util.List<java.lang.String> agentArns)
S3LocationArgs
build()
S3LocationArgs.Builder
s3BucketArn(com.pulumi.core.Output<java.lang.String> s3BucketArn)
S3LocationArgs.Builder
s3BucketArn(java.lang.String s3BucketArn)
S3LocationArgs.Builder
s3Config(S3LocationS3ConfigArgs s3Config)
S3LocationArgs.Builder
s3Config(com.pulumi.core.Output<S3LocationS3ConfigArgs> s3Config)
S3LocationArgs.Builder
s3StorageClass(com.pulumi.core.Output<java.lang.String> s3StorageClass)
S3LocationArgs.Builder
s3StorageClass(java.lang.String s3StorageClass)
S3LocationArgs.Builder
subdirectory(com.pulumi.core.Output<java.lang.String> subdirectory)
S3LocationArgs.Builder
subdirectory(java.lang.String subdirectory)
S3LocationArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
S3LocationArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(S3LocationArgs defaults)
-
-
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
-
s3Config
public S3LocationArgs.Builder s3Config(com.pulumi.core.Output<S3LocationS3ConfigArgs> s3Config)
- Parameters:
s3Config
- Configuration block containing information for connecting to S3.- Returns:
- builder
-
s3Config
public S3LocationArgs.Builder s3Config(S3LocationS3ConfigArgs s3Config)
- Parameters:
s3Config
- Configuration block containing information for connecting to S3.- 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
-
build
public S3LocationArgs build()
-
-