@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAccessPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAccessPolicyResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAccessPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getAccessPolicyArn()
The ARN of the access
policy, which has the following format.
|
Date |
getAccessPolicyCreationDate()
The date the access policy was created, in Unix epoch time.
|
String |
getAccessPolicyId()
The ID of the access policy.
|
Identity |
getAccessPolicyIdentity()
The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy
applies.
|
Date |
getAccessPolicyLastUpdateDate()
The date the access policy was last updated, in Unix epoch time.
|
String |
getAccessPolicyPermission()
The access policy permission.
|
Resource |
getAccessPolicyResource()
The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.
|
int |
hashCode() |
void |
setAccessPolicyArn(String accessPolicyArn)
The ARN of the access
policy, which has the following format.
|
void |
setAccessPolicyCreationDate(Date accessPolicyCreationDate)
The date the access policy was created, in Unix epoch time.
|
void |
setAccessPolicyId(String accessPolicyId)
The ID of the access policy.
|
void |
setAccessPolicyIdentity(Identity accessPolicyIdentity)
The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy
applies.
|
void |
setAccessPolicyLastUpdateDate(Date accessPolicyLastUpdateDate)
The date the access policy was last updated, in Unix epoch time.
|
void |
setAccessPolicyPermission(String accessPolicyPermission)
The access policy permission.
|
void |
setAccessPolicyResource(Resource accessPolicyResource)
The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAccessPolicyResult |
withAccessPolicyArn(String accessPolicyArn)
The ARN of the access
policy, which has the following format.
|
DescribeAccessPolicyResult |
withAccessPolicyCreationDate(Date accessPolicyCreationDate)
The date the access policy was created, in Unix epoch time.
|
DescribeAccessPolicyResult |
withAccessPolicyId(String accessPolicyId)
The ID of the access policy.
|
DescribeAccessPolicyResult |
withAccessPolicyIdentity(Identity accessPolicyIdentity)
The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy
applies.
|
DescribeAccessPolicyResult |
withAccessPolicyLastUpdateDate(Date accessPolicyLastUpdateDate)
The date the access policy was last updated, in Unix epoch time.
|
DescribeAccessPolicyResult |
withAccessPolicyPermission(Permission accessPolicyPermission)
The access policy permission.
|
DescribeAccessPolicyResult |
withAccessPolicyPermission(String accessPolicyPermission)
The access policy permission.
|
DescribeAccessPolicyResult |
withAccessPolicyResource(Resource accessPolicyResource)
The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAccessPolicyId(String accessPolicyId)
The ID of the access policy.
accessPolicyId
- The ID of the access policy.public String getAccessPolicyId()
The ID of the access policy.
public DescribeAccessPolicyResult withAccessPolicyId(String accessPolicyId)
The ID of the access policy.
accessPolicyId
- The ID of the access policy.public void setAccessPolicyArn(String accessPolicyArn)
The ARN of the access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
accessPolicyArn
- The ARN of the
access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
public String getAccessPolicyArn()
The ARN of the access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
public DescribeAccessPolicyResult withAccessPolicyArn(String accessPolicyArn)
The ARN of the access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
accessPolicyArn
- The ARN of the
access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
public void setAccessPolicyIdentity(Identity accessPolicyIdentity)
The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.
accessPolicyIdentity
- The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access
policy applies.public Identity getAccessPolicyIdentity()
The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.
public DescribeAccessPolicyResult withAccessPolicyIdentity(Identity accessPolicyIdentity)
The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.
accessPolicyIdentity
- The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access
policy applies.public void setAccessPolicyResource(Resource accessPolicyResource)
The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.
accessPolicyResource
- The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.public Resource getAccessPolicyResource()
The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.
public DescribeAccessPolicyResult withAccessPolicyResource(Resource accessPolicyResource)
The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.
accessPolicyResource
- The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.public void setAccessPolicyPermission(String accessPolicyPermission)
The access policy permission. Note that a project ADMINISTRATOR
is also known as a project owner.
accessPolicyPermission
- The access policy permission. Note that a project ADMINISTRATOR
is also known as a project
owner.Permission
public String getAccessPolicyPermission()
The access policy permission. Note that a project ADMINISTRATOR
is also known as a project owner.
ADMINISTRATOR
is also known as a project
owner.Permission
public DescribeAccessPolicyResult withAccessPolicyPermission(String accessPolicyPermission)
The access policy permission. Note that a project ADMINISTRATOR
is also known as a project owner.
accessPolicyPermission
- The access policy permission. Note that a project ADMINISTRATOR
is also known as a project
owner.Permission
public DescribeAccessPolicyResult withAccessPolicyPermission(Permission accessPolicyPermission)
The access policy permission. Note that a project ADMINISTRATOR
is also known as a project owner.
accessPolicyPermission
- The access policy permission. Note that a project ADMINISTRATOR
is also known as a project
owner.Permission
public void setAccessPolicyCreationDate(Date accessPolicyCreationDate)
The date the access policy was created, in Unix epoch time.
accessPolicyCreationDate
- The date the access policy was created, in Unix epoch time.public Date getAccessPolicyCreationDate()
The date the access policy was created, in Unix epoch time.
public DescribeAccessPolicyResult withAccessPolicyCreationDate(Date accessPolicyCreationDate)
The date the access policy was created, in Unix epoch time.
accessPolicyCreationDate
- The date the access policy was created, in Unix epoch time.public void setAccessPolicyLastUpdateDate(Date accessPolicyLastUpdateDate)
The date the access policy was last updated, in Unix epoch time.
accessPolicyLastUpdateDate
- The date the access policy was last updated, in Unix epoch time.public Date getAccessPolicyLastUpdateDate()
The date the access policy was last updated, in Unix epoch time.
public DescribeAccessPolicyResult withAccessPolicyLastUpdateDate(Date accessPolicyLastUpdateDate)
The date the access policy was last updated, in Unix epoch time.
accessPolicyLastUpdateDate
- The date the access policy was last updated, in Unix epoch time.public String toString()
toString
in class Object
Object.toString()
public DescribeAccessPolicyResult clone()