@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessPolicySummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains an access policy that defines an AWS SSO identity's access to an AWS IoT SiteWise Monitor resource.
Constructor and Description |
---|
AccessPolicySummary() |
Modifier and Type | Method and Description |
---|---|
AccessPolicySummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The date the access policy was created, in Unix epoch time.
|
String |
getId()
The ID of the access policy.
|
Identity |
getIdentity()
The AWS SSO identity (a user or group).
|
Date |
getLastUpdateDate()
The date the access policy was last updated, in Unix epoch time.
|
String |
getPermission()
The permissions for the access policy.
|
Resource |
getResource()
The AWS IoT SiteWise Monitor resource (a portal or project).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(Date creationDate)
The date the access policy was created, in Unix epoch time.
|
void |
setId(String id)
The ID of the access policy.
|
void |
setIdentity(Identity identity)
The AWS SSO identity (a user or group).
|
void |
setLastUpdateDate(Date lastUpdateDate)
The date the access policy was last updated, in Unix epoch time.
|
void |
setPermission(String permission)
The permissions for the access policy.
|
void |
setResource(Resource resource)
The AWS IoT SiteWise Monitor resource (a portal or project).
|
String |
toString()
Returns a string representation of this object.
|
AccessPolicySummary |
withCreationDate(Date creationDate)
The date the access policy was created, in Unix epoch time.
|
AccessPolicySummary |
withId(String id)
The ID of the access policy.
|
AccessPolicySummary |
withIdentity(Identity identity)
The AWS SSO identity (a user or group).
|
AccessPolicySummary |
withLastUpdateDate(Date lastUpdateDate)
The date the access policy was last updated, in Unix epoch time.
|
AccessPolicySummary |
withPermission(Permission permission)
The permissions for the access policy.
|
AccessPolicySummary |
withPermission(String permission)
The permissions for the access policy.
|
AccessPolicySummary |
withResource(Resource resource)
The AWS IoT SiteWise Monitor resource (a portal or project).
|
public void setId(String id)
The ID of the access policy.
id
- The ID of the access policy.public String getId()
The ID of the access policy.
public AccessPolicySummary withId(String id)
The ID of the access policy.
id
- The ID of the access policy.public void setIdentity(Identity identity)
The AWS SSO identity (a user or group).
identity
- The AWS SSO identity (a user or group).public Identity getIdentity()
The AWS SSO identity (a user or group).
public AccessPolicySummary withIdentity(Identity identity)
The AWS SSO identity (a user or group).
identity
- The AWS SSO identity (a user or group).public void setResource(Resource resource)
The AWS IoT SiteWise Monitor resource (a portal or project).
resource
- The AWS IoT SiteWise Monitor resource (a portal or project).public Resource getResource()
The AWS IoT SiteWise Monitor resource (a portal or project).
public AccessPolicySummary withResource(Resource resource)
The AWS IoT SiteWise Monitor resource (a portal or project).
resource
- The AWS IoT SiteWise Monitor resource (a portal or project).public void setPermission(String permission)
The permissions for the access policy. Note that a project ADMINISTRATOR
is also known as a project
owner.
permission
- The permissions for the access policy. Note that a project ADMINISTRATOR
is also known as a
project owner.Permission
public String getPermission()
The permissions for the access policy. Note that a project ADMINISTRATOR
is also known as a project
owner.
ADMINISTRATOR
is also known as a
project owner.Permission
public AccessPolicySummary withPermission(String permission)
The permissions for the access policy. Note that a project ADMINISTRATOR
is also known as a project
owner.
permission
- The permissions for the access policy. Note that a project ADMINISTRATOR
is also known as a
project owner.Permission
public AccessPolicySummary withPermission(Permission permission)
The permissions for the access policy. Note that a project ADMINISTRATOR
is also known as a project
owner.
permission
- The permissions for the access policy. Note that a project ADMINISTRATOR
is also known as a
project owner.Permission
public void setCreationDate(Date creationDate)
The date the access policy was created, in Unix epoch time.
creationDate
- The date the access policy was created, in Unix epoch time.public Date getCreationDate()
The date the access policy was created, in Unix epoch time.
public AccessPolicySummary withCreationDate(Date creationDate)
The date the access policy was created, in Unix epoch time.
creationDate
- The date the access policy was created, in Unix epoch time.public void setLastUpdateDate(Date lastUpdateDate)
The date the access policy was last updated, in Unix epoch time.
lastUpdateDate
- The date the access policy was last updated, in Unix epoch time.public Date getLastUpdateDate()
The date the access policy was last updated, in Unix epoch time.
public AccessPolicySummary withLastUpdateDate(Date lastUpdateDate)
The date the access policy was last updated, in Unix epoch time.
lastUpdateDate
- The date the access policy was last updated, in Unix epoch time.public String toString()
toString
in class Object
Object.toString()
public AccessPolicySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.