@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Used to configure access permissions for a document.
| Constructor and Description |
|---|
AccessConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AccessConfiguration |
clone() |
boolean |
equals(Object obj) |
List<AccessControl> |
getAccessControls()
A list of
AccessControlList objects. |
String |
getMemberRelation()
Describes the member relation within the
AccessControlList object. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccessControls(Collection<AccessControl> accessControls)
A list of
AccessControlList objects. |
void |
setMemberRelation(String memberRelation)
Describes the member relation within the
AccessControlList object. |
String |
toString()
Returns a string representation of this object.
|
AccessConfiguration |
withAccessControls(AccessControl... accessControls)
A list of
AccessControlList objects. |
AccessConfiguration |
withAccessControls(Collection<AccessControl> accessControls)
A list of
AccessControlList objects. |
AccessConfiguration |
withMemberRelation(MemberRelation memberRelation)
Describes the member relation within the
AccessControlList object. |
AccessConfiguration |
withMemberRelation(String memberRelation)
Describes the member relation within the
AccessControlList object. |
public List<AccessControl> getAccessControls()
A list of AccessControlList objects.
AccessControlList objects.public void setAccessControls(Collection<AccessControl> accessControls)
A list of AccessControlList objects.
accessControls - A list of AccessControlList objects.public AccessConfiguration withAccessControls(AccessControl... accessControls)
A list of AccessControlList objects.
NOTE: This method appends the values to the existing list (if any). Use
setAccessControls(java.util.Collection) or withAccessControls(java.util.Collection) if you want
to override the existing values.
accessControls - A list of AccessControlList objects.public AccessConfiguration withAccessControls(Collection<AccessControl> accessControls)
A list of AccessControlList objects.
accessControls - A list of AccessControlList objects.public void setMemberRelation(String memberRelation)
Describes the member relation within the AccessControlList object.
memberRelation - Describes the member relation within the AccessControlList object.MemberRelationpublic String getMemberRelation()
Describes the member relation within the AccessControlList object.
AccessControlList object.MemberRelationpublic AccessConfiguration withMemberRelation(String memberRelation)
Describes the member relation within the AccessControlList object.
memberRelation - Describes the member relation within the AccessControlList object.MemberRelationpublic AccessConfiguration withMemberRelation(MemberRelation memberRelation)
Describes the member relation within the AccessControlList object.
memberRelation - Describes the member relation within the AccessControlList object.MemberRelationpublic String toString()
toString in class ObjectObject.toString()public AccessConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.