@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StorageConfiguration.Builder |
static class |
StorageConfiguration.Type |
| Modifier and Type | Method and Description |
|---|---|
static StorageConfiguration.Builder |
builder() |
EfsStorageConfiguration |
efs()
Defines the storage configuration for an Amazon EFS file system.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static StorageConfiguration |
fromEfs(Consumer<EfsStorageConfiguration.Builder> efs)
Create an instance of this class with
efs() initialized to the given value. |
static StorageConfiguration |
fromEfs(EfsStorageConfiguration efs)
Create an instance of this class with
efs() initialized to the given value. |
static StorageConfiguration |
fromFsx(Consumer<FsxStorageConfiguration.Builder> fsx)
Create an instance of this class with
fsx() initialized to the given value. |
static StorageConfiguration |
fromFsx(FsxStorageConfiguration fsx)
Create an instance of this class with
fsx() initialized to the given value. |
FsxStorageConfiguration |
fsx()
Defines the storage configuration for an Amazon FSx file system.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends StorageConfiguration.Builder> |
serializableBuilderClass() |
StorageConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
StorageConfiguration.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final EfsStorageConfiguration efs()
Defines the storage configuration for an Amazon EFS file system.
public final FsxStorageConfiguration fsx()
Defines the storage configuration for an Amazon FSx file system.
public StorageConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StorageConfiguration.Builder,StorageConfiguration>public static StorageConfiguration.Builder builder()
public static Class<? extends StorageConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static StorageConfiguration fromEfs(EfsStorageConfiguration efs)
efs() initialized to the given value.
Defines the storage configuration for an Amazon EFS file system.
efs - Defines the storage configuration for an Amazon EFS file system.public static StorageConfiguration fromEfs(Consumer<EfsStorageConfiguration.Builder> efs)
efs() initialized to the given value.
Defines the storage configuration for an Amazon EFS file system.
efs - Defines the storage configuration for an Amazon EFS file system.public static StorageConfiguration fromFsx(FsxStorageConfiguration fsx)
fsx() initialized to the given value.
Defines the storage configuration for an Amazon FSx file system.
fsx - Defines the storage configuration for an Amazon FSx file system.public static StorageConfiguration fromFsx(Consumer<FsxStorageConfiguration.Builder> fsx)
fsx() initialized to the given value.
Defines the storage configuration for an Amazon FSx file system.
fsx - Defines the storage configuration for an Amazon FSx file system.public StorageConfiguration.Type type()
StorageConfiguration.Type.UNKNOWN_TO_SDK_VERSION if 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 be StorageConfiguration.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.