@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutFileSystemPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
PutFileSystemPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
PutFileSystemPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getFileSystemId()
Specifies the EFS file system to which the
FileSystemPolicy applies. |
String |
getPolicy()
The JSON formatted
FileSystemPolicy for the EFS file system. |
int |
hashCode() |
void |
setFileSystemId(String fileSystemId)
Specifies the EFS file system to which the
FileSystemPolicy applies. |
void |
setPolicy(String policy)
The JSON formatted
FileSystemPolicy for the EFS file system. |
String |
toString()
Returns a string representation of this object.
|
PutFileSystemPolicyResult |
withFileSystemId(String fileSystemId)
Specifies the EFS file system to which the
FileSystemPolicy applies. |
PutFileSystemPolicyResult |
withPolicy(String policy)
The JSON formatted
FileSystemPolicy for the EFS file system. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setFileSystemId(String fileSystemId)
Specifies the EFS file system to which the FileSystemPolicy applies.
fileSystemId - Specifies the EFS file system to which the FileSystemPolicy applies.public String getFileSystemId()
Specifies the EFS file system to which the FileSystemPolicy applies.
FileSystemPolicy applies.public PutFileSystemPolicyResult withFileSystemId(String fileSystemId)
Specifies the EFS file system to which the FileSystemPolicy applies.
fileSystemId - Specifies the EFS file system to which the FileSystemPolicy applies.public void setPolicy(String policy)
The JSON formatted FileSystemPolicy for the EFS file system.
policy - The JSON formatted FileSystemPolicy for the EFS file system.public String getPolicy()
The JSON formatted FileSystemPolicy for the EFS file system.
FileSystemPolicy for the EFS file system.public PutFileSystemPolicyResult withPolicy(String policy)
The JSON formatted FileSystemPolicy for the EFS file system.
policy - The JSON formatted FileSystemPolicy for the EFS file system.public String toString()
toString in class ObjectObject.toString()public PutFileSystemPolicyResult clone()