@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EfsFileSystemConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The proposed access control configuration for an Amazon EFS file system. You can propose a configuration for a new Amazon EFS file system or an existing Amazon EFS file system that you own by specifying the Amazon EFS policy. For more information, see Using file systems in Amazon EFS.
If the configuration is for an existing Amazon EFS file system and you do not specify the Amazon EFS policy, then the access preview uses the existing Amazon EFS policy for the file system.
If the access preview is for a new resource and you do not specify the policy, then the access preview assumes an Amazon EFS file system without a policy.
To propose deletion of an existing Amazon EFS file system policy, you can specify an empty string for the Amazon EFS policy.
Constructor and Description |
---|
EfsFileSystemConfiguration() |
Modifier and Type | Method and Description |
---|---|
EfsFileSystemConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getFileSystemPolicy()
The JSON policy definition to apply to the Amazon EFS file system.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFileSystemPolicy(String fileSystemPolicy)
The JSON policy definition to apply to the Amazon EFS file system.
|
String |
toString()
Returns a string representation of this object.
|
EfsFileSystemConfiguration |
withFileSystemPolicy(String fileSystemPolicy)
The JSON policy definition to apply to the Amazon EFS file system.
|
public void setFileSystemPolicy(String fileSystemPolicy)
The JSON policy definition to apply to the Amazon EFS file system. For more information on the elements that make up a file system policy, see Amazon EFS Resource-based policies.
fileSystemPolicy
- The JSON policy definition to apply to the Amazon EFS file system. For more information on the elements
that make up a file system policy, see Amazon EFS Resource-based policies.public String getFileSystemPolicy()
The JSON policy definition to apply to the Amazon EFS file system. For more information on the elements that make up a file system policy, see Amazon EFS Resource-based policies.
public EfsFileSystemConfiguration withFileSystemPolicy(String fileSystemPolicy)
The JSON policy definition to apply to the Amazon EFS file system. For more information on the elements that make up a file system policy, see Amazon EFS Resource-based policies.
fileSystemPolicy
- The JSON policy definition to apply to the Amazon EFS file system. For more information on the elements
that make up a file system policy, see Amazon EFS Resource-based policies.public String toString()
toString
in class Object
Object.toString()
public EfsFileSystemConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.