@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.MemberRelation
public String getMemberRelation()
Describes the member relation within the AccessControlList
object.
AccessControlList
object.MemberRelation
public AccessConfiguration withMemberRelation(String memberRelation)
Describes the member relation within the AccessControlList
object.
memberRelation
- Describes the member relation within the AccessControlList
object.MemberRelation
public AccessConfiguration withMemberRelation(MemberRelation memberRelation)
Describes the member relation within the AccessControlList
object.
memberRelation
- Describes the member relation within the AccessControlList
object.MemberRelation
public String toString()
toString
in class Object
Object.toString()
public AccessConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.