Class PutFileSystemPolicyRequest
- 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.PutFileSystemPolicyRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutFileSystemPolicyRequest.Builder,PutFileSystemPolicyRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutFileSystemPolicyRequest extends EfsRequest implements ToCopyableBuilder<PutFileSystemPolicyRequest.Builder,PutFileSystemPolicyRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutFileSystemPolicyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutFileSystemPolicyRequest.Builderbuilder()BooleanbypassPolicyLockoutSafetyCheck()(Optional) A boolean that specifies whether or not to bypass theFileSystemPolicylockout safety check.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfileSystemId()The ID of the EFS file system that you want to create or update theFileSystemPolicyfor.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringpolicy()TheFileSystemPolicythat you're creating.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PutFileSystemPolicyRequest.Builder>serializableBuilderClass()PutFileSystemPolicyRequest.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
-
fileSystemId
public final String fileSystemId()
The ID of the EFS file system that you want to create or update the
FileSystemPolicyfor.- Returns:
- The ID of the EFS file system that you want to create or update the
FileSystemPolicyfor.
-
policy
public final String policy()
The
FileSystemPolicythat you're creating. Accepts a JSON formatted policy definition. EFS file system policies have a 20,000 character limit. To find out more about the elements that make up a file system policy, see Resource-based policies within Amazon EFS.- Returns:
- The
FileSystemPolicythat you're creating. Accepts a JSON formatted policy definition. EFS file system policies have a 20,000 character limit. To find out more about the elements that make up a file system policy, see Resource-based policies within Amazon EFS.
-
bypassPolicyLockoutSafetyCheck
public final Boolean bypassPolicyLockoutSafetyCheck()
(Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicylockout safety check. The lockout safety check determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making futurePutFileSystemPolicyrequests on this file system. SetBypassPolicyLockoutSafetyChecktoTrueonly when you intend to prevent the IAM principal that is making the request from making subsequentPutFileSystemPolicyrequests on this file system. The default value isFalse.- Returns:
- (Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicylockout safety check. The lockout safety check determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making futurePutFileSystemPolicyrequests on this file system. SetBypassPolicyLockoutSafetyChecktoTrueonly when you intend to prevent the IAM principal that is making the request from making subsequentPutFileSystemPolicyrequests on this file system. The default value isFalse.
-
toBuilder
public PutFileSystemPolicyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutFileSystemPolicyRequest.Builder,PutFileSystemPolicyRequest>- Specified by:
toBuilderin classEfsRequest
-
builder
public static PutFileSystemPolicyRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutFileSystemPolicyRequest.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
-
-