Class CustomFileSystem
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.CustomFileSystem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomFileSystem.Builder,CustomFileSystem>
@Generated("software.amazon.awssdk:codegen") public final class CustomFileSystem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomFileSystem.Builder,CustomFileSystem>
A file system, created by you, that you assign to a user profile or space for an Amazon SageMaker AI Domain. Permitted users can access this file system in Amazon SageMaker AI Studio.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomFileSystem.Builderstatic classCustomFileSystem.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomFileSystem.Builderbuilder()EFSFileSystemefsFileSystem()A custom file system in Amazon EFS.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static CustomFileSystemfromEfsFileSystem(Consumer<EFSFileSystem.Builder> efsFileSystem)Create an instance of this class withefsFileSystem()initialized to the given value.static CustomFileSystemfromEfsFileSystem(EFSFileSystem efsFileSystem)Create an instance of this class withefsFileSystem()initialized to the given value.static CustomFileSystemfromFSxLustreFileSystem(Consumer<FSxLustreFileSystem.Builder> fSxLustreFileSystem)Create an instance of this class withfSxLustreFileSystem()initialized to the given value.static CustomFileSystemfromFSxLustreFileSystem(FSxLustreFileSystem fSxLustreFileSystem)Create an instance of this class withfSxLustreFileSystem()initialized to the given value.static CustomFileSystemfromS3FileSystem(Consumer<S3FileSystem.Builder> s3FileSystem)Create an instance of this class withs3FileSystem()initialized to the given value.static CustomFileSystemfromS3FileSystem(S3FileSystem s3FileSystem)Create an instance of this class withs3FileSystem()initialized to the given value.FSxLustreFileSystemfSxLustreFileSystem()A custom file system in Amazon FSx for Lustre.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()S3FileSystems3FileSystem()A custom file system in Amazon S3.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CustomFileSystem.Builder>serializableBuilderClass()CustomFileSystem.BuildertoBuilder()StringtoString()Returns a string representation of this object.CustomFileSystem.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
-
efsFileSystem
public final EFSFileSystem efsFileSystem()
A custom file system in Amazon EFS.
- Returns:
- A custom file system in Amazon EFS.
-
fSxLustreFileSystem
public final FSxLustreFileSystem fSxLustreFileSystem()
A custom file system in Amazon FSx for Lustre.
- Returns:
- A custom file system in Amazon FSx for Lustre.
-
s3FileSystem
public final S3FileSystem s3FileSystem()
A custom file system in Amazon S3. This is only supported in Amazon SageMaker Unified Studio.
- Returns:
- A custom file system in Amazon S3. This is only supported in Amazon SageMaker Unified Studio.
-
toBuilder
public CustomFileSystem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomFileSystem.Builder,CustomFileSystem>
-
builder
public static CustomFileSystem.Builder builder()
-
serializableBuilderClass
public static Class<? extends CustomFileSystem.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.
-
fromEfsFileSystem
public static CustomFileSystem fromEfsFileSystem(EFSFileSystem efsFileSystem)
Create an instance of this class withefsFileSystem()initialized to the given value.A custom file system in Amazon EFS.
- Parameters:
efsFileSystem- A custom file system in Amazon EFS.
-
fromEfsFileSystem
public static CustomFileSystem fromEfsFileSystem(Consumer<EFSFileSystem.Builder> efsFileSystem)
Create an instance of this class withefsFileSystem()initialized to the given value.A custom file system in Amazon EFS.
- Parameters:
efsFileSystem- A custom file system in Amazon EFS.
-
fromFSxLustreFileSystem
public static CustomFileSystem fromFSxLustreFileSystem(FSxLustreFileSystem fSxLustreFileSystem)
Create an instance of this class withfSxLustreFileSystem()initialized to the given value.A custom file system in Amazon FSx for Lustre.
- Parameters:
fSxLustreFileSystem- A custom file system in Amazon FSx for Lustre.
-
fromFSxLustreFileSystem
public static CustomFileSystem fromFSxLustreFileSystem(Consumer<FSxLustreFileSystem.Builder> fSxLustreFileSystem)
Create an instance of this class withfSxLustreFileSystem()initialized to the given value.A custom file system in Amazon FSx for Lustre.
- Parameters:
fSxLustreFileSystem- A custom file system in Amazon FSx for Lustre.
-
fromS3FileSystem
public static CustomFileSystem fromS3FileSystem(S3FileSystem s3FileSystem)
Create an instance of this class withs3FileSystem()initialized to the given value.A custom file system in Amazon S3. This is only supported in Amazon SageMaker Unified Studio.
- Parameters:
s3FileSystem- A custom file system in Amazon S3. This is only supported in Amazon SageMaker Unified Studio.
-
fromS3FileSystem
public static CustomFileSystem fromS3FileSystem(Consumer<S3FileSystem.Builder> s3FileSystem)
Create an instance of this class withs3FileSystem()initialized to the given value.A custom file system in Amazon S3. This is only supported in Amazon SageMaker Unified Studio.
- Parameters:
s3FileSystem- A custom file system in Amazon S3. This is only supported in Amazon SageMaker Unified Studio.
-
type
public CustomFileSystem.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 beCustomFileSystem.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 beCustomFileSystem.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-