Interface StorageConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StorageConfiguration.Builder,StorageConfiguration>,SdkBuilder<StorageConfiguration.Builder,StorageConfiguration>,SdkPojo
- Enclosing class:
- StorageConfiguration
public static interface StorageConfiguration.Builder extends SdkPojo, CopyableBuilder<StorageConfiguration.Builder,StorageConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StorageConfiguration.Builderefs(Consumer<EfsStorageConfiguration.Builder> efs)Defines the storage configuration for an Amazon EFS file system.StorageConfiguration.Builderefs(EfsStorageConfiguration efs)Defines the storage configuration for an Amazon EFS file system.default StorageConfiguration.Builderfsx(Consumer<FsxStorageConfiguration.Builder> fsx)Defines the storage configuration for an Amazon FSx file system.StorageConfiguration.Builderfsx(FsxStorageConfiguration fsx)Defines the storage configuration for an Amazon FSx file system.-
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, sdkFields
-
-
-
-
Method Detail
-
efs
StorageConfiguration.Builder efs(EfsStorageConfiguration efs)
Defines the storage configuration for an Amazon EFS file system.
- Parameters:
efs- Defines the storage configuration for an Amazon EFS file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
efs
default StorageConfiguration.Builder efs(Consumer<EfsStorageConfiguration.Builder> efs)
Defines the storage configuration for an Amazon EFS file system.
This is a convenience method that creates an instance of theEfsStorageConfiguration.Builderavoiding the need to create one manually viaEfsStorageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toefs(EfsStorageConfiguration).- Parameters:
efs- a consumer that will call methods onEfsStorageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
efs(EfsStorageConfiguration)
-
fsx
StorageConfiguration.Builder fsx(FsxStorageConfiguration fsx)
Defines the storage configuration for an Amazon FSx file system.
- Parameters:
fsx- Defines the storage configuration for an Amazon FSx file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fsx
default StorageConfiguration.Builder fsx(Consumer<FsxStorageConfiguration.Builder> fsx)
Defines the storage configuration for an Amazon FSx file system.
This is a convenience method that creates an instance of theFsxStorageConfiguration.Builderavoiding the need to create one manually viaFsxStorageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofsx(FsxStorageConfiguration).- Parameters:
fsx- a consumer that will call methods onFsxStorageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fsx(FsxStorageConfiguration)
-
-