@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 policies .
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 |
getFeatureSet()
Specifies the functionality that currently is available to the 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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 |
setFeatureSet(OrganizationFeatureSet featureSet)
Specifies the functionality that currently is available to the organization.
|
void |
setFeatureSet(String featureSet)
Specifies the functionality that currently is available to the 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.
|
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 |
withFeatureSet(OrganizationFeatureSet featureSet)
Specifies the functionality that currently is available to the organization.
|
Organization |
withFeatureSet(String featureSet)
Specifies the functionality that currently is available to the 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.
|
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 in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
arn
- The Amazon Resource Name (ARN) of an organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
public String getArn()
The Amazon Resource Name (ARN) of an organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
public Organization withArn(String arn)
The Amazon Resource Name (ARN) of an organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
arn
- The Amazon Resource Name (ARN) of an organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
public void setFeatureSet(String featureSet)
Specifies the functionality that currently is available to the organization. If set to "ALL", then all features are enabled and policies can be applied to accounts in the organization. If set to "CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide.
featureSet
- Specifies the functionality that currently is available to the organization. If set to "ALL", then all
features are enabled and policies can be applied to accounts in the organization. If set to
"CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more information,
see
Enabling All Features in Your Organization in the AWS Organizations User Guide.OrganizationFeatureSet
public String getFeatureSet()
Specifies the functionality that currently is available to the organization. If set to "ALL", then all features are enabled and policies can be applied to accounts in the organization. If set to "CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide.
OrganizationFeatureSet
public Organization withFeatureSet(String featureSet)
Specifies the functionality that currently is available to the organization. If set to "ALL", then all features are enabled and policies can be applied to accounts in the organization. If set to "CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide.
featureSet
- Specifies the functionality that currently is available to the organization. If set to "ALL", then all
features are enabled and policies can be applied to accounts in the organization. If set to
"CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more information,
see
Enabling All Features in Your Organization in the AWS Organizations User Guide.OrganizationFeatureSet
public void setFeatureSet(OrganizationFeatureSet featureSet)
Specifies the functionality that currently is available to the organization. If set to "ALL", then all features are enabled and policies can be applied to accounts in the organization. If set to "CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide.
featureSet
- Specifies the functionality that currently is available to the organization. If set to "ALL", then all
features are enabled and policies can be applied to accounts in the organization. If set to
"CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more information,
see
Enabling All Features in Your Organization in the AWS Organizations User Guide.OrganizationFeatureSet
public Organization withFeatureSet(OrganizationFeatureSet featureSet)
Specifies the functionality that currently is available to the organization. If set to "ALL", then all features are enabled and policies can be applied to accounts in the organization. If set to "CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide.
featureSet
- Specifies the functionality that currently is available to the organization. If set to "ALL", then all
features are enabled and policies can be applied to accounts in the organization. If set to
"CONSOLIDATED_BILLING", then only consolidated billing functionality is available. For more information,
see
Enabling All Features in Your Organization in the AWS Organizations User Guide.OrganizationFeatureSet
public 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 in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
masterAccountArn
- The Amazon Resource Name (ARN) of the account that is designated as the master account for the
organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
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 in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
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 in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
masterAccountArn
- The Amazon Resource Name (ARN) of the account that is designated as the master account for the
organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
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 has all features enabled, 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 has all features enabled, 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 has all
features enabled, 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 has all features enabled, 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 has all
features enabled, 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 has all features enabled, 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 has all
features enabled, then service control policies (SCPs) are included in the list.public String toString()
toString
in class Object
Object.toString()
public Organization clone()
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.