@Generated(value="software.amazon.awssdk:codegen") public final class ProjectPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProjectPolicy.Builder,ProjectPolicy>
Describes a project policy in the response from ListProjectPolicies.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ProjectPolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ProjectPolicy.Builder |
builder() |
Instant |
creationTimestamp()
The Unix datetime for the creation of the project policy.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedTimestamp()
The Unix datetime for when the project policy was last updated.
|
String |
policyDocument()
The JSON document for the project policy.
|
String |
policyName()
The name of the project policy.
|
String |
policyRevisionId()
The revision ID of the project policy.
|
String |
projectArn()
The Amazon Resource Name (ARN) of the project to which the project policy is attached.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ProjectPolicy.Builder> |
serializableBuilderClass() |
ProjectPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String projectArn()
The Amazon Resource Name (ARN) of the project to which the project policy is attached.
public final String policyName()
The name of the project policy.
public final String policyRevisionId()
The revision ID of the project policy.
public final String policyDocument()
The JSON document for the project policy.
public final Instant creationTimestamp()
The Unix datetime for the creation of the project policy.
public final Instant lastUpdatedTimestamp()
The Unix datetime for when the project policy was last updated.
public ProjectPolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ProjectPolicy.Builder,ProjectPolicy>public static ProjectPolicy.Builder builder()
public static Class<? extends ProjectPolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.