Class PutAccountPreferencesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.efs.model.EfsRequest
-
- software.amazon.awssdk.services.efs.model.PutAccountPreferencesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutAccountPreferencesRequest.Builder,PutAccountPreferencesRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutAccountPreferencesRequest extends EfsRequest implements ToCopyableBuilder<PutAccountPreferencesRequest.Builder,PutAccountPreferencesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutAccountPreferencesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutAccountPreferencesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResourceIdTyperesourceIdType()Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, eitherLONG_ID(17 characters), orSHORT_ID(8 characters).StringresourceIdTypeAsString()Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, eitherLONG_ID(17 characters), orSHORT_ID(8 characters).Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PutAccountPreferencesRequest.Builder>serializableBuilderClass()PutAccountPreferencesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
resourceIdType
public final ResourceIdType resourceIdType()
Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, either
LONG_ID(17 characters), orSHORT_ID(8 characters).Starting in October, 2021, you will receive an error when setting the account preference to
SHORT_ID. Contact Amazon Web Services support if you receive an error and must use short IDs for file system and mount target resources.If the service returns an enum value that is not available in the current SDK version,
resourceIdTypewill returnResourceIdType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceIdTypeAsString().- Returns:
- Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the
current Amazon Web Services Region, either
LONG_ID(17 characters), orSHORT_ID(8 characters).Starting in October, 2021, you will receive an error when setting the account preference to
SHORT_ID. Contact Amazon Web Services support if you receive an error and must use short IDs for file system and mount target resources. - See Also:
ResourceIdType
-
resourceIdTypeAsString
public final String resourceIdTypeAsString()
Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, either
LONG_ID(17 characters), orSHORT_ID(8 characters).Starting in October, 2021, you will receive an error when setting the account preference to
SHORT_ID. Contact Amazon Web Services support if you receive an error and must use short IDs for file system and mount target resources.If the service returns an enum value that is not available in the current SDK version,
resourceIdTypewill returnResourceIdType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceIdTypeAsString().- Returns:
- Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the
current Amazon Web Services Region, either
LONG_ID(17 characters), orSHORT_ID(8 characters).Starting in October, 2021, you will receive an error when setting the account preference to
SHORT_ID. Contact Amazon Web Services support if you receive an error and must use short IDs for file system and mount target resources. - See Also:
ResourceIdType
-
toBuilder
public PutAccountPreferencesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutAccountPreferencesRequest.Builder,PutAccountPreferencesRequest>- Specified by:
toBuilderin classEfsRequest
-
builder
public static PutAccountPreferencesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutAccountPreferencesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-