StructuredPojo
, ToCopyableBuilder<Parent.Builder,Parent>
@Generated("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 | Description |
---|---|---|
static interface |
Parent.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Parent.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
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() |
|
String |
type() |
The type of the parent entity.
|
public 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 String type()
The type of the parent entity.
ParentType
public Parent.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Parent.Builder,Parent>
public static Parent.Builder builder()
public static Class<? extends Parent.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.