@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOrganizationalUnitRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateOrganizationalUnitRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateOrganizationalUnitRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
The friendly name to assign to the new OU.
|
String |
getParentId()
The unique identifier (ID) of the parent root or OU in which you want to create the new OU.
|
int |
hashCode() |
void |
setName(String name)
The friendly name to assign to the new OU.
|
void |
setParentId(String parentId)
The unique identifier (ID) of the parent root or OU in which you want to create the new OU.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateOrganizationalUnitRequest |
withName(String name)
The friendly name to assign to the new OU.
|
CreateOrganizationalUnitRequest |
withParentId(String parentId)
The unique identifier (ID) of the parent root or OU in which you want to create the new OU.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setParentId(String parentId)
The unique identifier (ID) of the parent root or OU in which you want to create the new OU.
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.
parentId - The unique identifier (ID) of the parent root or OU in which you want to create the new OU.
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 getParentId()
The unique identifier (ID) of the parent root or OU in which you want to create the new OU.
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 CreateOrganizationalUnitRequest withParentId(String parentId)
The unique identifier (ID) of the parent root or OU in which you want to create the new OU.
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.
parentId - The unique identifier (ID) of the parent root or OU in which you want to create the new OU.
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 setName(String name)
The friendly name to assign to the new OU.
name - The friendly name to assign to the new OU.public String getName()
The friendly name to assign to the new OU.
public CreateOrganizationalUnitRequest withName(String name)
The friendly name to assign to the new OU.
name - The friendly name to assign to the new OU.public String toString()
toString in class ObjectObject.toString()public CreateOrganizationalUnitRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.