@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Organization extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about an organization. An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with organization control policies (OCPs).
| Constructor and Description |
|---|
Organization() |
| Modifier and Type | Method and Description |
|---|---|
Organization |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of an organization.
|
List<PolicyTypeSummary> |
getAvailablePolicyTypes()
A list of policy types that are enabled for this organization.
|
String |
getId()
The unique identifier (ID) of an organization.
|
String |
getMasterAccountArn()
The Amazon Resource Name (ARN) of the account that is designated as the master account for the organization.
|
String |
getMasterAccountEmail()
The email address that is associated with the AWS account that is designated as the master account for the
organization.
|
String |
getMasterAccountId()
The unique identifier (ID) of the master account of an organization.
|
String |
getMode()
Specifies the mode of operation that currently applies to all accounts in the organization.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of an organization.
|
void |
setAvailablePolicyTypes(Collection<PolicyTypeSummary> availablePolicyTypes)
A list of policy types that are enabled for this organization.
|
void |
setId(String id)
The unique identifier (ID) of an organization.
|
void |
setMasterAccountArn(String masterAccountArn)
The Amazon Resource Name (ARN) of the account that is designated as the master account for the organization.
|
void |
setMasterAccountEmail(String masterAccountEmail)
The email address that is associated with the AWS account that is designated as the master account for the
organization.
|
void |
setMasterAccountId(String masterAccountId)
The unique identifier (ID) of the master account of an organization.
|
void |
setMode(OrganizationMode mode)
Specifies the mode of operation that currently applies to all accounts in the organization.
|
void |
setMode(String mode)
Specifies the mode of operation that currently applies to all accounts in the organization.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Organization |
withArn(String arn)
The Amazon Resource Name (ARN) of an organization.
|
Organization |
withAvailablePolicyTypes(Collection<PolicyTypeSummary> availablePolicyTypes)
A list of policy types that are enabled for this organization.
|
Organization |
withAvailablePolicyTypes(PolicyTypeSummary... availablePolicyTypes)
A list of policy types that are enabled for this organization.
|
Organization |
withId(String id)
The unique identifier (ID) of an organization.
|
Organization |
withMasterAccountArn(String masterAccountArn)
The Amazon Resource Name (ARN) of the account that is designated as the master account for the organization.
|
Organization |
withMasterAccountEmail(String masterAccountEmail)
The email address that is associated with the AWS account that is designated as the master account for the
organization.
|
Organization |
withMasterAccountId(String masterAccountId)
The unique identifier (ID) of the master account of an organization.
|
Organization |
withMode(OrganizationMode mode)
Specifies the mode of operation that currently applies to all accounts in the organization.
|
Organization |
withMode(String mode)
Specifies the mode of operation that currently applies to all accounts in the organization.
|
public void setId(String id)
The unique identifier (ID) of an organization.
The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lower-case letters or digits.
id - The unique identifier (ID) of an organization.
The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lower-case letters or digits.
public String getId()
The unique identifier (ID) of an organization.
The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lower-case letters or digits.
The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lower-case letters or digits.
public Organization withId(String id)
The unique identifier (ID) of an organization.
The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lower-case letters or digits.
id - The unique identifier (ID) of an organization.
The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lower-case letters or digits.
public void setArn(String arn)
The Amazon Resource Name (ARN) of an organization.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
arn - The Amazon Resource Name (ARN) of an organization.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public String getArn()
The Amazon Resource Name (ARN) of an organization.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public Organization withArn(String arn)
The Amazon Resource Name (ARN) of an organization.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
arn - The Amazon Resource Name (ARN) of an organization.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public void setMode(String mode)
Specifies the mode of operation that currently applies to all accounts in the organization. If full-control mode is enabled, then organization control policies (OCPs) can be applied to accounts in the organization. If not, then only shared billing functionality is available. For more information, see Organization Operating Modes in the AWS Organizations User Guide.
mode - Specifies the mode of operation that currently applies to all accounts in the organization. If
full-control mode is enabled, then organization control policies (OCPs) can be applied to accounts in the
organization. If not, then only shared billing functionality is available. For more information, see Organization
Operating Modes in the AWS Organizations User Guide.OrganizationModepublic String getMode()
Specifies the mode of operation that currently applies to all accounts in the organization. If full-control mode is enabled, then organization control policies (OCPs) can be applied to accounts in the organization. If not, then only shared billing functionality is available. For more information, see Organization Operating Modes in the AWS Organizations User Guide.
OrganizationModepublic Organization withMode(String mode)
Specifies the mode of operation that currently applies to all accounts in the organization. If full-control mode is enabled, then organization control policies (OCPs) can be applied to accounts in the organization. If not, then only shared billing functionality is available. For more information, see Organization Operating Modes in the AWS Organizations User Guide.
mode - Specifies the mode of operation that currently applies to all accounts in the organization. If
full-control mode is enabled, then organization control policies (OCPs) can be applied to accounts in the
organization. If not, then only shared billing functionality is available. For more information, see Organization
Operating Modes in the AWS Organizations User Guide.OrganizationModepublic void setMode(OrganizationMode mode)
Specifies the mode of operation that currently applies to all accounts in the organization. If full-control mode is enabled, then organization control policies (OCPs) can be applied to accounts in the organization. If not, then only shared billing functionality is available. For more information, see Organization Operating Modes in the AWS Organizations User Guide.
mode - Specifies the mode of operation that currently applies to all accounts in the organization. If
full-control mode is enabled, then organization control policies (OCPs) can be applied to accounts in the
organization. If not, then only shared billing functionality is available. For more information, see Organization
Operating Modes in the AWS Organizations User Guide.OrganizationModepublic Organization withMode(OrganizationMode mode)
Specifies the mode of operation that currently applies to all accounts in the organization. If full-control mode is enabled, then organization control policies (OCPs) can be applied to accounts in the organization. If not, then only shared billing functionality is available. For more information, see Organization Operating Modes in the AWS Organizations User Guide.
mode - Specifies the mode of operation that currently applies to all accounts in the organization. If
full-control mode is enabled, then organization control policies (OCPs) can be applied to accounts in the
organization. If not, then only shared billing functionality is available. For more information, see Organization
Operating Modes in the AWS Organizations User Guide.OrganizationModepublic void setMasterAccountArn(String masterAccountArn)
The Amazon Resource Name (ARN) of the account that is designated as the master account for the organization.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
masterAccountArn - The Amazon Resource Name (ARN) of the account that is designated as the master account for the
organization.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public String getMasterAccountArn()
The Amazon Resource Name (ARN) of the account that is designated as the master account for the organization.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public Organization withMasterAccountArn(String masterAccountArn)
The Amazon Resource Name (ARN) of the account that is designated as the master account for the organization.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
masterAccountArn - The Amazon Resource Name (ARN) of the account that is designated as the master account for the
organization.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public void setMasterAccountId(String masterAccountId)
The unique identifier (ID) of the master account of an organization.
The regex pattern for an account ID string requires exactly 12 digits.
masterAccountId - The unique identifier (ID) of the master account of an organization.
The regex pattern for an account ID string requires exactly 12 digits.
public String getMasterAccountId()
The unique identifier (ID) of the master account of an organization.
The regex pattern for an account ID string requires exactly 12 digits.
The regex pattern for an account ID string requires exactly 12 digits.
public Organization withMasterAccountId(String masterAccountId)
The unique identifier (ID) of the master account of an organization.
The regex pattern for an account ID string requires exactly 12 digits.
masterAccountId - The unique identifier (ID) of the master account of an organization.
The regex pattern for an account ID string requires exactly 12 digits.
public void setMasterAccountEmail(String masterAccountEmail)
The email address that is associated with the AWS account that is designated as the master account for the organization.
masterAccountEmail - The email address that is associated with the AWS account that is designated as the master account for the
organization.public String getMasterAccountEmail()
The email address that is associated with the AWS account that is designated as the master account for the organization.
public Organization withMasterAccountEmail(String masterAccountEmail)
The email address that is associated with the AWS account that is designated as the master account for the organization.
masterAccountEmail - The email address that is associated with the AWS account that is designated as the master account for the
organization.public List<PolicyTypeSummary> getAvailablePolicyTypes()
A list of policy types that are enabled for this organization. For example, if your organization is in full-control mode, then service control policies (SCPs) are included in the list.
public void setAvailablePolicyTypes(Collection<PolicyTypeSummary> availablePolicyTypes)
A list of policy types that are enabled for this organization. For example, if your organization is in full-control mode, then service control policies (SCPs) are included in the list.
availablePolicyTypes - A list of policy types that are enabled for this organization. For example, if your organization is in
full-control mode, then service control policies (SCPs) are included in the list.public Organization withAvailablePolicyTypes(PolicyTypeSummary... availablePolicyTypes)
A list of policy types that are enabled for this organization. For example, if your organization is in full-control mode, then service control policies (SCPs) are included in the list.
NOTE: This method appends the values to the existing list (if any). Use
setAvailablePolicyTypes(java.util.Collection) or withAvailablePolicyTypes(java.util.Collection)
if you want to override the existing values.
availablePolicyTypes - A list of policy types that are enabled for this organization. For example, if your organization is in
full-control mode, then service control policies (SCPs) are included in the list.public Organization withAvailablePolicyTypes(Collection<PolicyTypeSummary> availablePolicyTypes)
A list of policy types that are enabled for this organization. For example, if your organization is in full-control mode, then service control policies (SCPs) are included in the list.
availablePolicyTypes - A list of policy types that are enabled for this organization. For example, if your organization is in
full-control mode, then service control policies (SCPs) are included in the list.public String toString()
toString in class ObjectObject.toString()public Organization clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.