@Generated(value="software.amazon.awssdk:codegen") public final class PolicyTypeSummary extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
PolicyType |
type()
The name of the policy type.
|
String |
typeAsString()
The name of the policy type.
|
copy
public 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()
.
PolicyType
public 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()
.
PolicyType
public 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()
.
PolicyTypeStatus
public 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()
.
PolicyTypeStatus
public PolicyTypeSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PolicyTypeSummary.Builder,PolicyTypeSummary>
public static PolicyTypeSummary.Builder builder()
public static Class<? extends PolicyTypeSummary.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.