@Generated(value="software.amazon.awssdk:codegen") public final class PolicyTypeSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyTypeSummary.Builder,PolicyTypeSummary>
Contains information about a policy type and its status in the associated root.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PolicyTypeSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PolicyTypeSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PolicyTypeSummary.Builder> |
serializableBuilderClass() |
PolicyTypeStatus |
status()
The status of the policy type as it relates to the associated root.
|
String |
statusAsString()
The status of the policy type as it relates to the associated root.
|
PolicyTypeSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
PolicyType |
type()
The name of the policy type.
|
String |
typeAsString()
The name of the policy type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final PolicyType type()
The name of the policy type.
If the service returns an enum value that is not available in the current SDK version, type will return
PolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
PolicyTypepublic final String typeAsString()
The name of the policy type.
If the service returns an enum value that is not available in the current SDK version, type will return
PolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
PolicyTypepublic final PolicyTypeStatus status()
The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root.
If the service returns an enum value that is not available in the current SDK version, status will
return PolicyTypeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
PolicyTypeStatuspublic final String statusAsString()
The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root.
If the service returns an enum value that is not available in the current SDK version, status will
return PolicyTypeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
PolicyTypeStatuspublic PolicyTypeSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PolicyTypeSummary.Builder,PolicyTypeSummary>public static PolicyTypeSummary.Builder builder()
public static Class<? extends PolicyTypeSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.