@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()
|
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 management account for the organization.
|
String |
getMasterAccountEmail()
The email address that is associated with the Amazon Web Services account that is designated as the management
account for the organization.
|
String |
getMasterAccountId()
The unique identifier (ID) of the management 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)
|
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 management account for the organization.
|
void |
setMasterAccountEmail(String masterAccountEmail)
The email address that is associated with the Amazon Web Services account that is designated as the management
account for the organization.
|
void |
setMasterAccountId(String masterAccountId)
The unique identifier (ID) of the management account of an organization.
|
String |
toString()
Returns a string representation of this object.
|
Organization |
withArn(String arn)
The Amazon Resource Name (ARN) of an organization.
|
Organization |
withAvailablePolicyTypes(Collection<PolicyTypeSummary> availablePolicyTypes)
|
Organization |
withAvailablePolicyTypes(PolicyTypeSummary... availablePolicyTypes)
|
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 management account for the organization.
|
Organization |
withMasterAccountEmail(String masterAccountEmail)
The email address that is associated with the Amazon Web Services account that is designated as the management
account for the organization.
|
Organization |
withMasterAccountId(String masterAccountId)
The unique identifier (ID) of the management 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 lowercase 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 lowercase 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 lowercase letters or digits.
The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase 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 lowercase 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 lowercase 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 Amazon Web Services Service Authorization Reference.
arn
- The Amazon Resource Name (ARN) of an organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
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 Amazon Web Services Service Authorization Reference.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
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 Amazon Web Services Service Authorization Reference.
arn
- The Amazon Resource Name (ARN) of an organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
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 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 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 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 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 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 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 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 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 Organizations User Guide.OrganizationFeatureSet
public void setMasterAccountArn(String masterAccountArn)
The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
masterAccountArn
- The Amazon Resource Name (ARN) of the account that is designated as the management account for the
organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
public String getMasterAccountArn()
The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
public Organization withMasterAccountArn(String masterAccountArn)
The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
masterAccountArn
- The Amazon Resource Name (ARN) of the account that is designated as the management account for the
organization.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
public void setMasterAccountId(String masterAccountId)
The unique identifier (ID) of the management account of an organization.
The regex pattern for an account ID string requires exactly 12 digits.
masterAccountId
- The unique identifier (ID) of the management 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 management 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 management account of an organization.
The regex pattern for an account ID string requires exactly 12 digits.
masterAccountId
- The unique identifier (ID) of the management 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 Amazon Web Services account that is designated as the management account for the organization.
masterAccountEmail
- The email address that is associated with the Amazon Web Services account that is designated as the
management account for the organization.public String getMasterAccountEmail()
The email address that is associated with the Amazon Web Services account that is designated as the management account for the organization.
public Organization withMasterAccountEmail(String masterAccountEmail)
The email address that is associated with the Amazon Web Services account that is designated as the management account for the organization.
masterAccountEmail
- The email address that is associated with the Amazon Web Services account that is designated as the
management account for the organization.public List<PolicyTypeSummary> getAvailablePolicyTypes()
Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
public void setAvailablePolicyTypes(Collection<PolicyTypeSummary> availablePolicyTypes)
Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
availablePolicyTypes
- Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
public Organization withAvailablePolicyTypes(PolicyTypeSummary... availablePolicyTypes)
Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
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
- Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
public Organization withAvailablePolicyTypes(Collection<PolicyTypeSummary> availablePolicyTypes)
Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
availablePolicyTypes
- Do not use. This field is deprecated and doesn't provide complete information about the policies in your organization.
To determine the policies that are enabled and available for use in your organization, use the ListRoots operation instead.
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.