Class S3LocationState.Builder

  • Enclosing class:
    S3LocationState

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

      • Builder

        public Builder()
    • Method Detail

      • agentArns

        public S3LocationState.Builder agentArns​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<java.lang.String>> agentArns)
        Parameters:
        agentArns - (Amazon S3 on Outposts only) ARN of the DataSync agent on the Outpost.
        Returns:
        builder
      • agentArns

        public S3LocationState.Builder agentArns​(java.util.List<java.lang.String> agentArns)
        Parameters:
        agentArns - (Amazon S3 on Outposts only) ARN of the DataSync agent on the Outpost.
        Returns:
        builder
      • agentArns

        public S3LocationState.Builder agentArns​(java.lang.String... agentArns)
        Parameters:
        agentArns - (Amazon S3 on Outposts only) ARN of the DataSync agent on the Outpost.
        Returns:
        builder
      • arn

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

        public S3LocationState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the DataSync Location.
        Returns:
        builder
      • region

        public S3LocationState.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 S3LocationState.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
      • s3BucketArn

        public S3LocationState.Builder s3BucketArn​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> s3BucketArn)
        Parameters:
        s3BucketArn - ARN of the S3 bucket, or the Amazon S3 access point if the S3 bucket is located on an AWS Outposts resource.
        Returns:
        builder
      • s3BucketArn

        public S3LocationState.Builder s3BucketArn​(java.lang.String s3BucketArn)
        Parameters:
        s3BucketArn - ARN of the S3 bucket, or the Amazon S3 access point if the S3 bucket is located on an AWS Outposts resource.
        Returns:
        builder
      • s3Config

        public S3LocationState.Builder s3Config​(@Nullable
                                                com.pulumi.core.Output<S3LocationS3ConfigArgs> s3Config)
        Parameters:
        s3Config - Configuration block containing information for connecting to S3.
        Returns:
        builder
      • s3StorageClass

        public S3LocationState.Builder s3StorageClass​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> s3StorageClass)
        Parameters:
        s3StorageClass - 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 S3LocationState.Builder s3StorageClass​(java.lang.String s3StorageClass)
        Parameters:
        s3StorageClass - 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 S3LocationState.Builder subdirectory​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> subdirectory)
        Parameters:
        subdirectory - Prefix to perform actions as source or destination.
        Returns:
        builder
      • subdirectory

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

        public S3LocationState.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 S3LocationState.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 S3LocationState.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 S3LocationState.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