Class AccessPointState.Builder

  • Enclosing class:
    AccessPointState

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

      • Builder

        public Builder()
    • Method Detail

      • accountId

        public AccessPointState.Builder accountId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> accountId)
        Parameters:
        accountId - AWS account ID for the owner of the bucket for which you want to create an access point. Defaults to automatically determined account ID of the AWS provider.
        Returns:
        builder
      • accountId

        public AccessPointState.Builder accountId​(java.lang.String accountId)
        Parameters:
        accountId - AWS account ID for the owner of the bucket for which you want to create an access point. Defaults to automatically determined account ID of the AWS provider.
        Returns:
        builder
      • alias

        public AccessPointState.Builder alias​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> alias)
        Parameters:
        alias - Alias of the S3 Access Point.
        Returns:
        builder
      • alias

        public AccessPointState.Builder alias​(java.lang.String alias)
        Parameters:
        alias - Alias of the S3 Access Point.
        Returns:
        builder
      • arn

        public AccessPointState.Builder arn​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the S3 Access Point.
        Returns:
        builder
      • arn

        public AccessPointState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the S3 Access Point.
        Returns:
        builder
      • bucket

        public AccessPointState.Builder bucket​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> bucket)
        Parameters:
        bucket - Name of an AWS Partition S3 General Purpose Bucket or the ARN of S3 on Outposts Bucket that you want to associate this access point with.
        Returns:
        builder
      • bucket

        public AccessPointState.Builder bucket​(java.lang.String bucket)
        Parameters:
        bucket - Name of an AWS Partition S3 General Purpose Bucket or the ARN of S3 on Outposts Bucket that you want to associate this access point with.
        Returns:
        builder
      • bucketAccountId

        public AccessPointState.Builder bucketAccountId​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> bucketAccountId)
        Parameters:
        bucketAccountId - AWS account ID associated with the S3 bucket associated with this access point.
        Returns:
        builder
      • bucketAccountId

        public AccessPointState.Builder bucketAccountId​(java.lang.String bucketAccountId)
        Parameters:
        bucketAccountId - AWS account ID associated with the S3 bucket associated with this access point.
        Returns:
        builder
      • domainName

        public AccessPointState.Builder domainName​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> domainName)
        Parameters:
        domainName - DNS domain name of the S3 Access Point in the format _`name`_-_`accountId`_.s3-accesspoint._region_.amazonaws.com. S3 access points only support secure access by HTTPS. HTTP isn't supported.
        Returns:
        builder
      • domainName

        public AccessPointState.Builder domainName​(java.lang.String domainName)
        Parameters:
        domainName - DNS domain name of the S3 Access Point in the format _`name`_-_`accountId`_.s3-accesspoint._region_.amazonaws.com. S3 access points only support secure access by HTTPS. HTTP isn't supported.
        Returns:
        builder
      • endpoints

        public AccessPointState.Builder endpoints​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> endpoints)
        Parameters:
        endpoints - VPC endpoints for the S3 Access Point.
        Returns:
        builder
      • endpoints

        public AccessPointState.Builder endpoints​(java.util.Map<java.lang.String,​java.lang.String> endpoints)
        Parameters:
        endpoints - VPC endpoints for the S3 Access Point.
        Returns:
        builder
      • hasPublicAccessPolicy

        public AccessPointState.Builder hasPublicAccessPolicy​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Boolean> hasPublicAccessPolicy)
        Parameters:
        hasPublicAccessPolicy - Whether this access point currently has a policy that allows public access.
        Returns:
        builder
      • hasPublicAccessPolicy

        public AccessPointState.Builder hasPublicAccessPolicy​(java.lang.Boolean hasPublicAccessPolicy)
        Parameters:
        hasPublicAccessPolicy - Whether this access point currently has a policy that allows public access.
        Returns:
        builder
      • name

        public AccessPointState.Builder name​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name you want to assign to this access point. See the [AWS documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-access-points.html?icmpid=docs_amazons3_console#access-points-names) for naming conditions. The following arguments are optional:
        Returns:
        builder
      • name

        public AccessPointState.Builder name​(java.lang.String name)
        Parameters:
        name - Name you want to assign to this access point. See the [AWS documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-access-points.html?icmpid=docs_amazons3_console#access-points-names) for naming conditions. The following arguments are optional:
        Returns:
        builder
      • networkOrigin

        public AccessPointState.Builder networkOrigin​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> networkOrigin)
        Parameters:
        networkOrigin - Whether this access point allows access from the public Internet. Values are `VPC` (the access point doesn't allow access from the public Internet) and `Internet` (the access point allows access from the public Internet, subject to the access point and bucket access policies).
        Returns:
        builder
      • networkOrigin

        public AccessPointState.Builder networkOrigin​(java.lang.String networkOrigin)
        Parameters:
        networkOrigin - Whether this access point allows access from the public Internet. Values are `VPC` (the access point doesn't allow access from the public Internet) and `Internet` (the access point allows access from the public Internet, subject to the access point and bucket access policies).
        Returns:
        builder
      • policy

        public AccessPointState.Builder policy​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> policy)
        Parameters:
        policy - Valid JSON document that specifies the policy that you want to apply to this access point. Removing `policy` from your configuration or setting `policy` to null or an empty string (i.e., `policy = ""`) _will not_ delete the policy since it could have been set by `aws.s3control.AccessPointPolicy`. To remove the `policy`, set it to `"{}"` (an empty JSON document).
        Returns:
        builder
      • policy

        public AccessPointState.Builder policy​(java.lang.String policy)
        Parameters:
        policy - Valid JSON document that specifies the policy that you want to apply to this access point. Removing `policy` from your configuration or setting `policy` to null or an empty string (i.e., `policy = ""`) _will not_ delete the policy since it could have been set by `aws.s3control.AccessPointPolicy`. To remove the `policy`, set it to `"{}"` (an empty JSON document).
        Returns:
        builder
      • publicAccessBlockConfiguration

        public AccessPointState.Builder publicAccessBlockConfiguration​(@Nullable
                                                                       com.pulumi.core.Output<AccessPointPublicAccessBlockConfigurationArgs> publicAccessBlockConfiguration)
        Parameters:
        publicAccessBlockConfiguration - Configuration block to manage the `PublicAccessBlock` configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. Detailed below.
        Returns:
        builder
      • publicAccessBlockConfiguration

        public AccessPointState.Builder publicAccessBlockConfiguration​(AccessPointPublicAccessBlockConfigurationArgs publicAccessBlockConfiguration)
        Parameters:
        publicAccessBlockConfiguration - Configuration block to manage the `PublicAccessBlock` configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. Detailed below.
        Returns:
        builder
      • region

        public AccessPointState.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 AccessPointState.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
      • tags

        public AccessPointState.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the bucket. 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 AccessPointState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the bucket. 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 AccessPointState.Builder tagsAll​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

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

        public AccessPointState.Builder vpcConfiguration​(@Nullable
                                                         com.pulumi.core.Output<AccessPointVpcConfigurationArgs> vpcConfiguration)
        Parameters:
        vpcConfiguration - Configuration block to restrict access to this access point to requests from the specified VPC. Required for S3 on Outposts. Detailed below.
        Returns:
        builder
      • vpcConfiguration

        public AccessPointState.Builder vpcConfiguration​(AccessPointVpcConfigurationArgs vpcConfiguration)
        Parameters:
        vpcConfiguration - Configuration block to restrict access to this access point to requests from the specified VPC. Required for S3 on Outposts. Detailed below.
        Returns:
        builder