@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociatedAccessPolicy extends Object implements Serializable, Cloneable, StructuredPojo
An access policy association.
Constructor and Description |
---|
AssociatedAccessPolicy() |
Modifier and Type | Method and Description |
---|---|
AssociatedAccessPolicy |
clone() |
boolean |
equals(Object obj) |
AccessScope |
getAccessScope()
The scope of the access policy.
|
Date |
getAssociatedAt()
The date and time the
AccessPolicy was associated with an AccessEntry . |
Date |
getModifiedAt()
The Unix epoch timestamp for the last modification to the object.
|
String |
getPolicyArn()
The ARN of the
AccessPolicy . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessScope(AccessScope accessScope)
The scope of the access policy.
|
void |
setAssociatedAt(Date associatedAt)
The date and time the
AccessPolicy was associated with an AccessEntry . |
void |
setModifiedAt(Date modifiedAt)
The Unix epoch timestamp for the last modification to the object.
|
void |
setPolicyArn(String policyArn)
The ARN of the
AccessPolicy . |
String |
toString()
Returns a string representation of this object.
|
AssociatedAccessPolicy |
withAccessScope(AccessScope accessScope)
The scope of the access policy.
|
AssociatedAccessPolicy |
withAssociatedAt(Date associatedAt)
The date and time the
AccessPolicy was associated with an AccessEntry . |
AssociatedAccessPolicy |
withModifiedAt(Date modifiedAt)
The Unix epoch timestamp for the last modification to the object.
|
AssociatedAccessPolicy |
withPolicyArn(String policyArn)
The ARN of the
AccessPolicy . |
public void setPolicyArn(String policyArn)
The ARN of the AccessPolicy
.
policyArn
- The ARN of the AccessPolicy
.public String getPolicyArn()
The ARN of the AccessPolicy
.
AccessPolicy
.public AssociatedAccessPolicy withPolicyArn(String policyArn)
The ARN of the AccessPolicy
.
policyArn
- The ARN of the AccessPolicy
.public void setAccessScope(AccessScope accessScope)
The scope of the access policy.
accessScope
- The scope of the access policy.public AccessScope getAccessScope()
The scope of the access policy.
public AssociatedAccessPolicy withAccessScope(AccessScope accessScope)
The scope of the access policy.
accessScope
- The scope of the access policy.public void setAssociatedAt(Date associatedAt)
The date and time the AccessPolicy
was associated with an AccessEntry
.
associatedAt
- The date and time the AccessPolicy
was associated with an AccessEntry
.public Date getAssociatedAt()
The date and time the AccessPolicy
was associated with an AccessEntry
.
AccessPolicy
was associated with an AccessEntry
.public AssociatedAccessPolicy withAssociatedAt(Date associatedAt)
The date and time the AccessPolicy
was associated with an AccessEntry
.
associatedAt
- The date and time the AccessPolicy
was associated with an AccessEntry
.public void setModifiedAt(Date modifiedAt)
The Unix epoch timestamp for the last modification to the object.
modifiedAt
- The Unix epoch timestamp for the last modification to the object.public Date getModifiedAt()
The Unix epoch timestamp for the last modification to the object.
public AssociatedAccessPolicy withModifiedAt(Date modifiedAt)
The Unix epoch timestamp for the last modification to the object.
modifiedAt
- The Unix epoch timestamp for the last modification to the object.public String toString()
toString
in class Object
Object.toString()
public AssociatedAccessPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.