@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutFileSystemPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutFileSystemPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PutFileSystemPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getBypassPolicyLockoutSafetyCheck()
(Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicy lockout safety
check. |
String |
getFileSystemId()
The ID of the EFS file system that you want to create or update the
FileSystemPolicy for. |
String |
getPolicy()
The
FileSystemPolicy that you're creating. |
int |
hashCode() |
Boolean |
isBypassPolicyLockoutSafetyCheck()
(Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicy lockout safety
check. |
void |
setBypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck)
(Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicy lockout safety
check. |
void |
setFileSystemId(String fileSystemId)
The ID of the EFS file system that you want to create or update the
FileSystemPolicy for. |
void |
setPolicy(String policy)
The
FileSystemPolicy that you're creating. |
String |
toString()
Returns a string representation of this object.
|
PutFileSystemPolicyRequest |
withBypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck)
(Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicy lockout safety
check. |
PutFileSystemPolicyRequest |
withFileSystemId(String fileSystemId)
The ID of the EFS file system that you want to create or update the
FileSystemPolicy for. |
PutFileSystemPolicyRequest |
withPolicy(String policy)
The
FileSystemPolicy that you're creating. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFileSystemId(String fileSystemId)
The ID of the EFS file system that you want to create or update the FileSystemPolicy
for.
fileSystemId
- The ID of the EFS file system that you want to create or update the FileSystemPolicy
for.public String getFileSystemId()
The ID of the EFS file system that you want to create or update the FileSystemPolicy
for.
FileSystemPolicy
for.public PutFileSystemPolicyRequest withFileSystemId(String fileSystemId)
The ID of the EFS file system that you want to create or update the FileSystemPolicy
for.
fileSystemId
- The ID of the EFS file system that you want to create or update the FileSystemPolicy
for.public void setPolicy(String policy)
The FileSystemPolicy
that 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 EFS Resource-based Policies.
policy
- The FileSystemPolicy
that 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 EFS Resource-based Policies.public String getPolicy()
The FileSystemPolicy
that 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 EFS Resource-based Policies.
FileSystemPolicy
that 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 EFS Resource-based Policies.public PutFileSystemPolicyRequest withPolicy(String policy)
The FileSystemPolicy
that 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 EFS Resource-based Policies.
policy
- The FileSystemPolicy
that 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 EFS Resource-based Policies.public void setBypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck)
(Optional) A boolean that specifies whether or not to bypass the FileSystemPolicy
lockout 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 future PutFileSystemPolicy
requests on this file
system. Set BypassPolicyLockoutSafetyCheck
to True
only when you intend to prevent the
IAM principal that is making the request from making subsequent PutFileSystemPolicy
requests on this
file system. The default value is False
.
bypassPolicyLockoutSafetyCheck
- (Optional) A boolean that specifies whether or not to bypass the FileSystemPolicy
lockout
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 future PutFileSystemPolicy
requests on this file system. Set BypassPolicyLockoutSafetyCheck
to True
only
when you intend to prevent the IAM principal that is making the request from making subsequent
PutFileSystemPolicy
requests on this file system. The default value is False
.public Boolean getBypassPolicyLockoutSafetyCheck()
(Optional) A boolean that specifies whether or not to bypass the FileSystemPolicy
lockout 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 future PutFileSystemPolicy
requests on this file
system. Set BypassPolicyLockoutSafetyCheck
to True
only when you intend to prevent the
IAM principal that is making the request from making subsequent PutFileSystemPolicy
requests on this
file system. The default value is False
.
FileSystemPolicy
lockout
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 future PutFileSystemPolicy
requests on this file system. Set BypassPolicyLockoutSafetyCheck
to True
only
when you intend to prevent the IAM principal that is making the request from making subsequent
PutFileSystemPolicy
requests on this file system. The default value is False
.public PutFileSystemPolicyRequest withBypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck)
(Optional) A boolean that specifies whether or not to bypass the FileSystemPolicy
lockout 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 future PutFileSystemPolicy
requests on this file
system. Set BypassPolicyLockoutSafetyCheck
to True
only when you intend to prevent the
IAM principal that is making the request from making subsequent PutFileSystemPolicy
requests on this
file system. The default value is False
.
bypassPolicyLockoutSafetyCheck
- (Optional) A boolean that specifies whether or not to bypass the FileSystemPolicy
lockout
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 future PutFileSystemPolicy
requests on this file system. Set BypassPolicyLockoutSafetyCheck
to True
only
when you intend to prevent the IAM principal that is making the request from making subsequent
PutFileSystemPolicy
requests on this file system. The default value is False
.public Boolean isBypassPolicyLockoutSafetyCheck()
(Optional) A boolean that specifies whether or not to bypass the FileSystemPolicy
lockout 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 future PutFileSystemPolicy
requests on this file
system. Set BypassPolicyLockoutSafetyCheck
to True
only when you intend to prevent the
IAM principal that is making the request from making subsequent PutFileSystemPolicy
requests on this
file system. The default value is False
.
FileSystemPolicy
lockout
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 future PutFileSystemPolicy
requests on this file system. Set BypassPolicyLockoutSafetyCheck
to True
only
when you intend to prevent the IAM principal that is making the request from making subsequent
PutFileSystemPolicy
requests on this file system. The default value is False
.public String toString()
toString
in class Object
Object.toString()
public PutFileSystemPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()