Interface CreateAndAttachS3AccessPointS3Configuration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CreateAndAttachS3AccessPointS3Configuration.Builder,
,CreateAndAttachS3AccessPointS3Configuration> SdkBuilder<CreateAndAttachS3AccessPointS3Configuration.Builder,
,CreateAndAttachS3AccessPointS3Configuration> SdkPojo
- Enclosing class:
CreateAndAttachS3AccessPointS3Configuration
@Mutable
@NotThreadSafe
public static interface CreateAndAttachS3AccessPointS3Configuration.Builder
extends SdkPojo, CopyableBuilder<CreateAndAttachS3AccessPointS3Configuration.Builder,CreateAndAttachS3AccessPointS3Configuration>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies an access policy to associate with the S3 access point configuration.vpcConfiguration
(Consumer<S3AccessPointVpcConfiguration.Builder> vpcConfiguration) If included, Amazon S3 restricts access to this S3 access point to requests made from the specified virtual private cloud (VPC).vpcConfiguration
(S3AccessPointVpcConfiguration vpcConfiguration) If included, Amazon S3 restricts access to this S3 access point to requests made from the specified virtual private cloud (VPC).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
-
vpcConfiguration
CreateAndAttachS3AccessPointS3Configuration.Builder vpcConfiguration(S3AccessPointVpcConfiguration vpcConfiguration) If included, Amazon S3 restricts access to this S3 access point to requests made from the specified virtual private cloud (VPC).
- Parameters:
vpcConfiguration
- If included, Amazon S3 restricts access to this S3 access point to requests made from the specified virtual private cloud (VPC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default CreateAndAttachS3AccessPointS3Configuration.Builder vpcConfiguration(Consumer<S3AccessPointVpcConfiguration.Builder> vpcConfiguration) If included, Amazon S3 restricts access to this S3 access point to requests made from the specified virtual private cloud (VPC).
This is a convenience method that creates an instance of theS3AccessPointVpcConfiguration.Builder
avoiding the need to create one manually viaS3AccessPointVpcConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfiguration(S3AccessPointVpcConfiguration)
.- Parameters:
vpcConfiguration
- a consumer that will call methods onS3AccessPointVpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policy
Specifies an access policy to associate with the S3 access point configuration. For more information, see Configuring IAM policies for using access points in the Amazon Simple Storage Service User Guide.
- Parameters:
policy
- Specifies an access policy to associate with the S3 access point configuration. For more information, see Configuring IAM policies for using access points in the Amazon Simple Storage Service User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-