@Generated(value="software.amazon.awssdk:codegen") public class Parent extends Object implements StructuredPojo, ToCopyableBuilder<Parent.Builder,Parent>
Contains information about either a root or an organizational unit (OU) that can contain OUs or accounts in an organization.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Parent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Parent.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier (ID) of the parent entity.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends Parent.Builder> |
serializableBuilderClass() |
Parent.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
ParentType |
type()
The type of the parent entity.
|
String |
typeAsString()
The type of the parent entity.
|
copypublic String id()
The unique identifier (ID) of the parent entity.
The regex pattern for a parent ID string requires one of the following:
Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits.
Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.
The regex pattern for a parent ID string requires one of the following:
Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits.
Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.
public ParentType type()
The type of the parent entity.
If the service returns an enum value that is not available in the current SDK version, type will return
ParentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ParentTypepublic String typeAsString()
The type of the parent entity.
If the service returns an enum value that is not available in the current SDK version, type will return
ParentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ParentTypepublic Parent.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Parent.Builder,Parent>public static Parent.Builder builder()
public static Class<? extends Parent.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.