Interface CreateAndAttachS3AccessPointOntapConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CreateAndAttachS3AccessPointOntapConfiguration.Builder,,CreateAndAttachS3AccessPointOntapConfiguration> SdkBuilder<CreateAndAttachS3AccessPointOntapConfiguration.Builder,,CreateAndAttachS3AccessPointOntapConfiguration> SdkPojo
- Enclosing class:
CreateAndAttachS3AccessPointOntapConfiguration
@Mutable
@NotThreadSafe
public static interface CreateAndAttachS3AccessPointOntapConfiguration.Builder
extends SdkPojo, CopyableBuilder<CreateAndAttachS3AccessPointOntapConfiguration.Builder,CreateAndAttachS3AccessPointOntapConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionfileSystemIdentity(Consumer<OntapFileSystemIdentity.Builder> fileSystemIdentity) Specifies the file system user identity to use for authorizing file read and write requests that are made using this S3 access point.fileSystemIdentity(OntapFileSystemIdentity fileSystemIdentity) Specifies the file system user identity to use for authorizing file read and write requests that are made using this S3 access point.The ID of the FSx for ONTAP volume to which you want the S3 access point attached.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
volumeId
The ID of the FSx for ONTAP volume to which you want the S3 access point attached.
- Parameters:
volumeId- The ID of the FSx for ONTAP volume to which you want the S3 access point attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemIdentity
CreateAndAttachS3AccessPointOntapConfiguration.Builder fileSystemIdentity(OntapFileSystemIdentity fileSystemIdentity) Specifies the file system user identity to use for authorizing file read and write requests that are made using this S3 access point.
- Parameters:
fileSystemIdentity- Specifies the file system user identity to use for authorizing file read and write requests that are made using this S3 access point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemIdentity
default CreateAndAttachS3AccessPointOntapConfiguration.Builder fileSystemIdentity(Consumer<OntapFileSystemIdentity.Builder> fileSystemIdentity) Specifies the file system user identity to use for authorizing file read and write requests that are made using this S3 access point.
This is a convenience method that creates an instance of theOntapFileSystemIdentity.Builderavoiding the need to create one manually viaOntapFileSystemIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileSystemIdentity(OntapFileSystemIdentity).- Parameters:
fileSystemIdentity- a consumer that will call methods onOntapFileSystemIdentity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-