@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Parent extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about either a root or an organizational unit (OU) that can contain OUs or accounts in an organization.
Constructor and Description |
---|
Parent() |
Modifier and Type | Method and Description |
---|---|
Parent |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The unique identifier (ID) of the parent entity.
|
String |
getType()
The type of the parent entity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The unique identifier (ID) of the parent entity.
|
void |
setType(ParentType type)
The type of the parent entity.
|
void |
setType(String type)
The type of the parent entity.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Parent |
withId(String id)
The unique identifier (ID) of the parent entity.
|
Parent |
withType(ParentType type)
The type of the parent entity.
|
Parent |
withType(String type)
The type of the parent entity.
|
public void setId(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.
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.
public String getId()
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 Parent withId(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.
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.
public void setType(String type)
The type of the parent entity.
type
- The type of the parent entity.ParentType
public String getType()
The type of the parent entity.
ParentType
public Parent withType(String type)
The type of the parent entity.
type
- The type of the parent entity.ParentType
public void setType(ParentType type)
The type of the parent entity.
type
- The type of the parent entity.ParentType
public Parent withType(ParentType type)
The type of the parent entity.
type
- The type of the parent entity.ParentType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.