Interface AwsS3AccessPointDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsS3AccessPointDetails.Builder,
,AwsS3AccessPointDetails> SdkBuilder<AwsS3AccessPointDetails.Builder,
,AwsS3AccessPointDetails> SdkPojo
- Enclosing class:
AwsS3AccessPointDetails
-
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn
(String accessPointArn) The Amazon Resource Name (ARN) of the access point.The name or alias of the access point.The name of the S3 bucket associated with the specified access point.bucketAccountId
(String bucketAccountId) The Amazon Web Services account ID associated with the S3 bucket associated with this access point.The name of the specified access point.networkOrigin
(String networkOrigin) Indicates whether this access point allows access from the public internet.default AwsS3AccessPointDetails.Builder
publicAccessBlockConfiguration
(Consumer<AwsS3AccountPublicAccessBlockDetails.Builder> publicAccessBlockConfiguration) Sets the value of the PublicAccessBlockConfiguration property for this object.publicAccessBlockConfiguration
(AwsS3AccountPublicAccessBlockDetails publicAccessBlockConfiguration) Sets the value of the PublicAccessBlockConfiguration property for this object.default AwsS3AccessPointDetails.Builder
vpcConfiguration
(Consumer<AwsS3AccessPointVpcConfigurationDetails.Builder> vpcConfiguration) Contains the virtual private cloud (VPC) configuration for the specified access point.vpcConfiguration
(AwsS3AccessPointVpcConfigurationDetails vpcConfiguration) Contains the virtual private cloud (VPC) configuration for the specified access point.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accessPointArn
The Amazon Resource Name (ARN) of the access point.
- Parameters:
accessPointArn
- The Amazon Resource Name (ARN) of the access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alias
The name or alias of the access point.
- Parameters:
alias
- The name or alias of the access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucket
The name of the S3 bucket associated with the specified access point.
- Parameters:
bucket
- The name of the S3 bucket associated with the specified access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketAccountId
The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
- Parameters:
bucketAccountId
- The Amazon Web Services account ID associated with the S3 bucket associated with this access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the specified access point.
- Parameters:
name
- The name of the specified access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkOrigin
Indicates whether this access point allows access from the public internet.
- Parameters:
networkOrigin
- Indicates whether this access point allows access from the public internet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicAccessBlockConfiguration
AwsS3AccessPointDetails.Builder publicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails publicAccessBlockConfiguration) Sets the value of the PublicAccessBlockConfiguration property for this object.- Parameters:
publicAccessBlockConfiguration
- The new value for the PublicAccessBlockConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicAccessBlockConfiguration
default AwsS3AccessPointDetails.Builder publicAccessBlockConfiguration(Consumer<AwsS3AccountPublicAccessBlockDetails.Builder> publicAccessBlockConfiguration) Sets the value of the PublicAccessBlockConfiguration property for this object. This is a convenience method that creates an instance of theAwsS3AccountPublicAccessBlockDetails.Builder
avoiding the need to create one manually viaAwsS3AccountPublicAccessBlockDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails)
.- Parameters:
publicAccessBlockConfiguration
- a consumer that will call methods onAwsS3AccountPublicAccessBlockDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfiguration
AwsS3AccessPointDetails.Builder vpcConfiguration(AwsS3AccessPointVpcConfigurationDetails vpcConfiguration) Contains the virtual private cloud (VPC) configuration for the specified access point.
- Parameters:
vpcConfiguration
- Contains the virtual private cloud (VPC) configuration for the specified access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default AwsS3AccessPointDetails.Builder vpcConfiguration(Consumer<AwsS3AccessPointVpcConfigurationDetails.Builder> vpcConfiguration) Contains the virtual private cloud (VPC) configuration for the specified access point.
This is a convenience method that creates an instance of theAwsS3AccessPointVpcConfigurationDetails.Builder
avoiding the need to create one manually viaAwsS3AccessPointVpcConfigurationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfiguration(AwsS3AccessPointVpcConfigurationDetails)
.- Parameters:
vpcConfiguration
- a consumer that will call methods onAwsS3AccessPointVpcConfigurationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-