Interface AwsS3AccessPointDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsS3AccessPointDetails.Builder,AwsS3AccessPointDetails>,SdkBuilder<AwsS3AccessPointDetails.Builder,AwsS3AccessPointDetails>,SdkPojo
- Enclosing class:
- AwsS3AccessPointDetails
public static interface AwsS3AccessPointDetails.Builder extends SdkPojo, CopyableBuilder<AwsS3AccessPointDetails.Builder,AwsS3AccessPointDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsS3AccessPointDetails.BuilderaccessPointArn(String accessPointArn)The Amazon Resource Name (ARN) of the access point.AwsS3AccessPointDetails.Builderalias(String alias)The name or alias of the access point.AwsS3AccessPointDetails.Builderbucket(String bucket)The name of the S3 bucket associated with the specified access point.AwsS3AccessPointDetails.BuilderbucketAccountId(String bucketAccountId)The Amazon Web Services account ID associated with the S3 bucket associated with this access point.AwsS3AccessPointDetails.Buildername(String name)The name of the specified access point.AwsS3AccessPointDetails.BuildernetworkOrigin(String networkOrigin)Indicates whether this access point allows access from the public internet.default AwsS3AccessPointDetails.BuilderpublicAccessBlockConfiguration(Consumer<AwsS3AccountPublicAccessBlockDetails.Builder> publicAccessBlockConfiguration)Sets the value of the PublicAccessBlockConfiguration property for this object.AwsS3AccessPointDetails.BuilderpublicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails publicAccessBlockConfiguration)Sets the value of the PublicAccessBlockConfiguration property for this object.default AwsS3AccessPointDetails.BuildervpcConfiguration(Consumer<AwsS3AccessPointVpcConfigurationDetails.Builder> vpcConfiguration)Contains the virtual private cloud (VPC) configuration for the specified access point.AwsS3AccessPointDetails.BuildervpcConfiguration(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 Detail
-
accessPointArn
AwsS3AccessPointDetails.Builder accessPointArn(String 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
AwsS3AccessPointDetails.Builder alias(String 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
AwsS3AccessPointDetails.Builder bucket(String 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
AwsS3AccessPointDetails.Builder bucketAccountId(String 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
AwsS3AccessPointDetails.Builder name(String 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
AwsS3AccessPointDetails.Builder networkOrigin(String 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.Builderavoiding the need to create one manually viaAwsS3AccountPublicAccessBlockDetails.builder().When the
Consumercompletes,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:
publicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails)
-
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.Builderavoiding the need to create one manually viaAwsS3AccessPointVpcConfigurationDetails.builder().When the
Consumercompletes,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:
vpcConfiguration(AwsS3AccessPointVpcConfigurationDetails)
-
-