Interface GetAccessPointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAccessPointResponse.Builder,
,GetAccessPointResponse> S3ControlResponse.Builder
,SdkBuilder<GetAccessPointResponse.Builder,
,GetAccessPointResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAccessPointResponse
-
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn
(String accessPointArn) The ARN of the access point.The name or alias of the access point.The name of the 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.creationDate
(Instant creationDate) The date and time when the specified access point was created.The VPC endpoint for the access point.The name of the specified access point.networkOrigin
(String networkOrigin) Indicates whether this access point allows access from the public internet.networkOrigin
(NetworkOrigin networkOrigin) Indicates whether this access point allows access from the public internet.default GetAccessPointResponse.Builder
publicAccessBlockConfiguration
(Consumer<PublicAccessBlockConfiguration.Builder> publicAccessBlockConfiguration) Sets the value of the PublicAccessBlockConfiguration property for this object.publicAccessBlockConfiguration
(PublicAccessBlockConfiguration publicAccessBlockConfiguration) Sets the value of the PublicAccessBlockConfiguration property for this object.default GetAccessPointResponse.Builder
vpcConfiguration
(Consumer<VpcConfiguration.Builder> vpcConfiguration) Contains the virtual private cloud (VPC) configuration for the specified access point.vpcConfiguration
(VpcConfiguration 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.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
bucket
The name of the bucket associated with the specified access point.
- Parameters:
bucket
- The name of the bucket associated with 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. If
VpcConfiguration
is specified for this access point, thenNetworkOrigin
isVPC
, and the access point doesn't allow access from the public internet. Otherwise,NetworkOrigin
isInternet
, and the access point allows access from the public internet, subject to the access point and bucket access policies.This will always be true for an Amazon S3 on Outposts access point
- Parameters:
networkOrigin
- Indicates whether this access point allows access from the public internet. IfVpcConfiguration
is specified for this access point, thenNetworkOrigin
isVPC
, and the access point doesn't allow access from the public internet. Otherwise,NetworkOrigin
isInternet
, and the access point allows access from the public internet, subject to the access point and bucket access policies.This will always be true for an Amazon S3 on Outposts access point
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkOrigin
Indicates whether this access point allows access from the public internet. If
VpcConfiguration
is specified for this access point, thenNetworkOrigin
isVPC
, and the access point doesn't allow access from the public internet. Otherwise,NetworkOrigin
isInternet
, and the access point allows access from the public internet, subject to the access point and bucket access policies.This will always be true for an Amazon S3 on Outposts access point
- Parameters:
networkOrigin
- Indicates whether this access point allows access from the public internet. IfVpcConfiguration
is specified for this access point, thenNetworkOrigin
isVPC
, and the access point doesn't allow access from the public internet. Otherwise,NetworkOrigin
isInternet
, and the access point allows access from the public internet, subject to the access point and bucket access policies.This will always be true for an Amazon S3 on Outposts access point
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfiguration
Contains the virtual private cloud (VPC) configuration for the specified access point.
This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
- Parameters:
vpcConfiguration
- Contains the virtual private cloud (VPC) configuration for the specified access point.This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default GetAccessPointResponse.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration) Contains the virtual private cloud (VPC) configuration for the specified access point.
This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
VpcConfiguration.Builder
avoiding the need to create one manually viaVpcConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfiguration(VpcConfiguration)
.- Parameters:
vpcConfiguration
- a consumer that will call methods onVpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publicAccessBlockConfiguration
GetAccessPointResponse.Builder publicAccessBlockConfiguration(PublicAccessBlockConfiguration 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 GetAccessPointResponse.Builder publicAccessBlockConfiguration(Consumer<PublicAccessBlockConfiguration.Builder> publicAccessBlockConfiguration) Sets the value of the PublicAccessBlockConfiguration property for this object. This is a convenience method that creates an instance of thePublicAccessBlockConfiguration.Builder
avoiding the need to create one manually viaPublicAccessBlockConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicAccessBlockConfiguration(PublicAccessBlockConfiguration)
.- Parameters:
publicAccessBlockConfiguration
- a consumer that will call methods onPublicAccessBlockConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDate
The date and time when the specified access point was created.
- Parameters:
creationDate
- The date and time when the specified access point was created.- 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.
-
accessPointArn
The ARN of the access point.
- Parameters:
accessPointArn
- The ARN of the access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The VPC endpoint for the access point.
- Parameters:
endpoints
- The VPC endpoint for the 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.
-