Class StorageConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.m2.model.StorageConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StorageConfiguration.Builder,StorageConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class StorageConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StorageConfiguration.Builder,StorageConfiguration>
Defines the storage configuration for a runtime environment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStorageConfiguration.Builderstatic classStorageConfiguration.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StorageConfiguration.Builderbuilder()EfsStorageConfigurationefs()Defines the storage configuration for an Amazon EFS file system.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static StorageConfigurationfromEfs(Consumer<EfsStorageConfiguration.Builder> efs)Create an instance of this class withefs()initialized to the given value.static StorageConfigurationfromEfs(EfsStorageConfiguration efs)Create an instance of this class withefs()initialized to the given value.static StorageConfigurationfromFsx(Consumer<FsxStorageConfiguration.Builder> fsx)Create an instance of this class withfsx()initialized to the given value.static StorageConfigurationfromFsx(FsxStorageConfiguration fsx)Create an instance of this class withfsx()initialized to the given value.FsxStorageConfigurationfsx()Defines the storage configuration for an Amazon FSx file system.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends StorageConfiguration.Builder>serializableBuilderClass()StorageConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.StorageConfiguration.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
efs
public final EfsStorageConfiguration efs()
Defines the storage configuration for an Amazon EFS file system.
- Returns:
- Defines the storage configuration for an Amazon EFS file system.
-
fsx
public final FsxStorageConfiguration fsx()
Defines the storage configuration for an Amazon FSx file system.
- Returns:
- Defines the storage configuration for an Amazon FSx file system.
-
toBuilder
public StorageConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StorageConfiguration.Builder,StorageConfiguration>
-
builder
public static StorageConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends StorageConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromEfs
public static StorageConfiguration fromEfs(EfsStorageConfiguration efs)
Create an instance of this class withefs()initialized to the given value.Defines the storage configuration for an Amazon EFS file system.
- Parameters:
efs- Defines the storage configuration for an Amazon EFS file system.
-
fromEfs
public static StorageConfiguration fromEfs(Consumer<EfsStorageConfiguration.Builder> efs)
Create an instance of this class withefs()initialized to the given value.Defines the storage configuration for an Amazon EFS file system.
- Parameters:
efs- Defines the storage configuration for an Amazon EFS file system.
-
fromFsx
public static StorageConfiguration fromFsx(FsxStorageConfiguration fsx)
Create an instance of this class withfsx()initialized to the given value.Defines the storage configuration for an Amazon FSx file system.
- Parameters:
fsx- Defines the storage configuration for an Amazon FSx file system.
-
fromFsx
public static StorageConfiguration fromFsx(Consumer<FsxStorageConfiguration.Builder> fsx)
Create an instance of this class withfsx()initialized to the given value.Defines the storage configuration for an Amazon FSx file system.
- Parameters:
fsx- Defines the storage configuration for an Amazon FSx file system.
-
type
public StorageConfiguration.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beStorageConfiguration.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beStorageConfiguration.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-