@Generated(value="software.amazon.awssdk:codegen") public final class AccessPolicySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccessPolicySummary.Builder,AccessPolicySummary>
Contains an access policy that defines an identity's access to an AWS IoT SiteWise Monitor resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccessPolicySummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AccessPolicySummary.Builder |
builder() |
Instant |
creationDate()
The date the access policy was created, in Unix epoch time.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the access policy.
|
Identity |
identity()
The identity (an AWS SSO user, an AWS SSO group, or an IAM user).
|
Instant |
lastUpdateDate()
The date the access policy was last updated, in Unix epoch time.
|
Permission |
permission()
The permissions for the access policy.
|
String |
permissionAsString()
The permissions for the access policy.
|
Resource |
resource()
The AWS IoT SiteWise Monitor resource (a portal or project).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccessPolicySummary.Builder> |
serializableBuilderClass() |
AccessPolicySummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the access policy.
public final Identity identity()
The identity (an AWS SSO user, an AWS SSO group, or an IAM user).
public final Resource resource()
The AWS IoT SiteWise Monitor resource (a portal or project).
public final Permission permission()
The permissions for the access policy. Note that a project ADMINISTRATOR is also known as a project
owner.
If the service returns an enum value that is not available in the current SDK version, permission will
return Permission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
permissionAsString().
ADMINISTRATOR is also known as a
project owner.Permissionpublic final String permissionAsString()
The permissions for the access policy. Note that a project ADMINISTRATOR is also known as a project
owner.
If the service returns an enum value that is not available in the current SDK version, permission will
return Permission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
permissionAsString().
ADMINISTRATOR is also known as a
project owner.Permissionpublic final Instant creationDate()
The date the access policy was created, in Unix epoch time.
public final Instant lastUpdateDate()
The date the access policy was last updated, in Unix epoch time.
public AccessPolicySummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AccessPolicySummary.Builder,AccessPolicySummary>public static AccessPolicySummary.Builder builder()
public static Class<? extends AccessPolicySummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.