Class EFSAuthorizationConfig
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.EFSAuthorizationConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EFSAuthorizationConfig.Builder,EFSAuthorizationConfig>
@Generated("software.amazon.awssdk:codegen") public final class EFSAuthorizationConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EFSAuthorizationConfig.Builder,EFSAuthorizationConfig>
The authorization configuration details for the Amazon EFS file system.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEFSAuthorizationConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessPointId()The Amazon EFS access point ID to use.static EFSAuthorizationConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()EFSAuthorizationConfigIAMiam()Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.StringiamAsString()Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EFSAuthorizationConfig.Builder>serializableBuilderClass()EFSAuthorizationConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
accessPointId
public final String accessPointId()
The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the
EFSVolumeConfigurationmust either be omitted or set to/which enforces the path set on the EFS access point. If an access point is used, transit encryption must be enabled in theEFSVolumeConfiguration. For more information, see Working with Amazon EFS access points in the Amazon Elastic File System User Guide.- Returns:
- The Amazon EFS access point ID to use. If an access point is specified, the root directory value
specified in the
EFSVolumeConfigurationmust either be omitted or set to/which enforces the path set on the EFS access point. If an access point is used, transit encryption must be enabled in theEFSVolumeConfiguration. For more information, see Working with Amazon EFS access points in the Amazon Elastic File System User Guide.
-
iam
public final EFSAuthorizationConfigIAM iam()
Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the
EFSVolumeConfiguration. If this parameter is omitted, the default value ofDISABLEDis used. For more information, see Using Amazon EFS access points in the Batch User Guide. EFS IAM authorization requires thatTransitEncryptionbeENABLEDand that aJobRoleArnis specified.If the service returns an enum value that is not available in the current SDK version,
iamwill returnEFSAuthorizationConfigIAM.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromiamAsString().- Returns:
- Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS
file system. If enabled, transit encryption must be enabled in the
EFSVolumeConfiguration. If this parameter is omitted, the default value ofDISABLEDis used. For more information, see Using Amazon EFS access points in the Batch User Guide. EFS IAM authorization requires thatTransitEncryptionbeENABLEDand that aJobRoleArnis specified. - See Also:
EFSAuthorizationConfigIAM
-
iamAsString
public final String iamAsString()
Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the
EFSVolumeConfiguration. If this parameter is omitted, the default value ofDISABLEDis used. For more information, see Using Amazon EFS access points in the Batch User Guide. EFS IAM authorization requires thatTransitEncryptionbeENABLEDand that aJobRoleArnis specified.If the service returns an enum value that is not available in the current SDK version,
iamwill returnEFSAuthorizationConfigIAM.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromiamAsString().- Returns:
- Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS
file system. If enabled, transit encryption must be enabled in the
EFSVolumeConfiguration. If this parameter is omitted, the default value ofDISABLEDis used. For more information, see Using Amazon EFS access points in the Batch User Guide. EFS IAM authorization requires thatTransitEncryptionbeENABLEDand that aJobRoleArnis specified. - See Also:
EFSAuthorizationConfigIAM
-
toBuilder
public EFSAuthorizationConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EFSAuthorizationConfig.Builder,EFSAuthorizationConfig>
-
builder
public static EFSAuthorizationConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends EFSAuthorizationConfig.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-