@Generated(value="software.amazon.awssdk:codegen") public final class PolicyGeneration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyGeneration.Builder,PolicyGeneration>
Contains details about the policy generation status and properties.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PolicyGeneration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PolicyGeneration.Builder |
builder() |
Instant |
completedOn()
A timestamp of when the policy generation was completed.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jobId()
The
JobId that is returned by the StartPolicyGeneration operation. |
String |
principalArn()
The ARN of the IAM entity (user or role) for which you are generating a policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PolicyGeneration.Builder> |
serializableBuilderClass() |
Instant |
startedOn()
A timestamp of when the policy generation started.
|
JobStatus |
status()
The status of the policy generation request.
|
String |
statusAsString()
The status of the policy generation request.
|
PolicyGeneration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant completedOn()
A timestamp of when the policy generation was completed.
public final String jobId()
The JobId that is returned by the StartPolicyGeneration operation. The
JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used
with CancelPolicyGeneration to cancel the policy generation request.
JobId that is returned by the StartPolicyGeneration operation. The
JobId can be used with GetGeneratedPolicy to retrieve the generated policies or
used with CancelPolicyGeneration to cancel the policy generation request.public final String principalArn()
The ARN of the IAM entity (user or role) for which you are generating a policy.
public final Instant startedOn()
A timestamp of when the policy generation started.
public final JobStatus status()
The status of the policy generation request.
If the service returns an enum value that is not available in the current SDK version, status will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
JobStatuspublic final String statusAsString()
The status of the policy generation request.
If the service returns an enum value that is not available in the current SDK version, status will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
JobStatuspublic PolicyGeneration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PolicyGeneration.Builder,PolicyGeneration>public static PolicyGeneration.Builder builder()
public static Class<? extends PolicyGeneration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.