Class EFSAuthorizationConfig
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.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()Determines whether to use the Amazon ECS task role defined in a task definition when mounting the Amazon EFS file system.StringiamAsString()Determines whether to use the Amazon ECS task role defined in a task definition when mounting the Amazon EFS file system.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 will enforce the path set on the EFS access point. If an access point is used, transit encryption must be on 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 will enforce the path set on the EFS access point. If an access point is used, transit encryption must be on 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()
Determines whether to use the Amazon ECS task role defined in a task definition when mounting the Amazon EFS file system. If it is turned on, transit encryption must be turned on in the
EFSVolumeConfiguration. If this parameter is omitted, the default value ofDISABLEDis used. For more information, see Using Amazon EFS access points in the Amazon Elastic Container Service Developer Guide.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:
- Determines whether to use the Amazon ECS task role defined in a task definition when mounting the Amazon
EFS file system. If it is turned on, transit encryption must be turned on in the
EFSVolumeConfiguration. If this parameter is omitted, the default value ofDISABLEDis used. For more information, see Using Amazon EFS access points in the Amazon Elastic Container Service Developer Guide. - See Also:
EFSAuthorizationConfigIAM
-
iamAsString
public final String iamAsString()
Determines whether to use the Amazon ECS task role defined in a task definition when mounting the Amazon EFS file system. If it is turned on, transit encryption must be turned on in the
EFSVolumeConfiguration. If this parameter is omitted, the default value ofDISABLEDis used. For more information, see Using Amazon EFS access points in the Amazon Elastic Container Service Developer Guide.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:
- Determines whether to use the Amazon ECS task role defined in a task definition when mounting the Amazon
EFS file system. If it is turned on, transit encryption must be turned on in the
EFSVolumeConfiguration. If this parameter is omitted, the default value ofDISABLEDis used. For more information, see Using Amazon EFS access points in the Amazon Elastic Container Service Developer Guide. - 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.
-
-