Class FilesystemConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FilesystemConfiguration.Builder,FilesystemConfiguration>
Configuration for a filesystem that can be mounted into the AgentCore Runtime.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Configuration for a capacity provider volume to mount into the AgentCore Runtime.Configuration for an Amazon EFS access point to mount into the AgentCore Runtime.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static FilesystemConfigurationfromCapacityProviderVolume(Consumer<CapacityProviderVolumeConfiguration.Builder> capacityProviderVolume) Create an instance of this class withcapacityProviderVolume()initialized to the given value.static FilesystemConfigurationfromCapacityProviderVolume(CapacityProviderVolumeConfiguration capacityProviderVolume) Create an instance of this class withcapacityProviderVolume()initialized to the given value.static FilesystemConfigurationfromEfsAccessPoint(Consumer<EfsAccessPointConfiguration.Builder> efsAccessPoint) Create an instance of this class withefsAccessPoint()initialized to the given value.static FilesystemConfigurationfromEfsAccessPoint(EfsAccessPointConfiguration efsAccessPoint) Create an instance of this class withefsAccessPoint()initialized to the given value.static FilesystemConfigurationfromS3FilesAccessPoint(Consumer<S3FilesAccessPointConfiguration.Builder> s3FilesAccessPoint) Create an instance of this class withs3FilesAccessPoint()initialized to the given value.static FilesystemConfigurationfromS3FilesAccessPoint(S3FilesAccessPointConfiguration s3FilesAccessPoint) Create an instance of this class withs3FilesAccessPoint()initialized to the given value.static FilesystemConfigurationfromSessionStorage(Consumer<SessionStorageConfiguration.Builder> sessionStorage) Create an instance of this class withsessionStorage()initialized to the given value.static FilesystemConfigurationfromSessionStorage(SessionStorageConfiguration sessionStorage) Create an instance of this class withsessionStorage()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()Configuration for an Amazon S3 Files access point to mount into the AgentCore Runtime.static Class<? extends FilesystemConfiguration.Builder> Configuration for session storage.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
sessionStorage
Configuration for session storage. Session storage provides persistent storage that is preserved across AgentCore Runtime session invocations.
- Returns:
- Configuration for session storage. Session storage provides persistent storage that is preserved across AgentCore Runtime session invocations.
-
s3FilesAccessPoint
Configuration for an Amazon S3 Files access point to mount into the AgentCore Runtime.
- Returns:
- Configuration for an Amazon S3 Files access point to mount into the AgentCore Runtime.
-
efsAccessPoint
Configuration for an Amazon EFS access point to mount into the AgentCore Runtime.
- Returns:
- Configuration for an Amazon EFS access point to mount into the AgentCore Runtime.
-
capacityProviderVolume
Configuration for a capacity provider volume to mount into the AgentCore Runtime. This mounts a persistent volume that is defined on the capacity provider, referenced by its logical name.
- Returns:
- Configuration for a capacity provider volume to mount into the AgentCore Runtime. This mounts a persistent volume that is defined on the capacity provider, referenced by its logical name.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<FilesystemConfiguration.Builder,FilesystemConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
fromSessionStorage
public static FilesystemConfiguration fromSessionStorage(SessionStorageConfiguration sessionStorage) Create an instance of this class withsessionStorage()initialized to the given value.Configuration for session storage. Session storage provides persistent storage that is preserved across AgentCore Runtime session invocations.
- Parameters:
sessionStorage- Configuration for session storage. Session storage provides persistent storage that is preserved across AgentCore Runtime session invocations.
-
fromSessionStorage
public static FilesystemConfiguration fromSessionStorage(Consumer<SessionStorageConfiguration.Builder> sessionStorage) Create an instance of this class withsessionStorage()initialized to the given value.Configuration for session storage. Session storage provides persistent storage that is preserved across AgentCore Runtime session invocations.
- Parameters:
sessionStorage- Configuration for session storage. Session storage provides persistent storage that is preserved across AgentCore Runtime session invocations.
-
fromS3FilesAccessPoint
public static FilesystemConfiguration fromS3FilesAccessPoint(S3FilesAccessPointConfiguration s3FilesAccessPoint) Create an instance of this class withs3FilesAccessPoint()initialized to the given value.Configuration for an Amazon S3 Files access point to mount into the AgentCore Runtime.
- Parameters:
s3FilesAccessPoint- Configuration for an Amazon S3 Files access point to mount into the AgentCore Runtime.
-
fromS3FilesAccessPoint
public static FilesystemConfiguration fromS3FilesAccessPoint(Consumer<S3FilesAccessPointConfiguration.Builder> s3FilesAccessPoint) Create an instance of this class withs3FilesAccessPoint()initialized to the given value.Configuration for an Amazon S3 Files access point to mount into the AgentCore Runtime.
- Parameters:
s3FilesAccessPoint- Configuration for an Amazon S3 Files access point to mount into the AgentCore Runtime.
-
fromEfsAccessPoint
public static FilesystemConfiguration fromEfsAccessPoint(EfsAccessPointConfiguration efsAccessPoint) Create an instance of this class withefsAccessPoint()initialized to the given value.Configuration for an Amazon EFS access point to mount into the AgentCore Runtime.
- Parameters:
efsAccessPoint- Configuration for an Amazon EFS access point to mount into the AgentCore Runtime.
-
fromEfsAccessPoint
public static FilesystemConfiguration fromEfsAccessPoint(Consumer<EfsAccessPointConfiguration.Builder> efsAccessPoint) Create an instance of this class withefsAccessPoint()initialized to the given value.Configuration for an Amazon EFS access point to mount into the AgentCore Runtime.
- Parameters:
efsAccessPoint- Configuration for an Amazon EFS access point to mount into the AgentCore Runtime.
-
fromCapacityProviderVolume
public static FilesystemConfiguration fromCapacityProviderVolume(CapacityProviderVolumeConfiguration capacityProviderVolume) Create an instance of this class withcapacityProviderVolume()initialized to the given value.Configuration for a capacity provider volume to mount into the AgentCore Runtime. This mounts a persistent volume that is defined on the capacity provider, referenced by its logical name.
- Parameters:
capacityProviderVolume- Configuration for a capacity provider volume to mount into the AgentCore Runtime. This mounts a persistent volume that is defined on the capacity provider, referenced by its logical name.
-
fromCapacityProviderVolume
public static FilesystemConfiguration fromCapacityProviderVolume(Consumer<CapacityProviderVolumeConfiguration.Builder> capacityProviderVolume) Create an instance of this class withcapacityProviderVolume()initialized to the given value.Configuration for a capacity provider volume to mount into the AgentCore Runtime. This mounts a persistent volume that is defined on the capacity provider, referenced by its logical name.
- Parameters:
capacityProviderVolume- Configuration for a capacity provider volume to mount into the AgentCore Runtime. This mounts a persistent volume that is defined on the capacity provider, referenced by its logical name.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beFilesystemConfiguration.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 beFilesystemConfiguration.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-