@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrganizationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the way an organization is configured in Security Hub.
| Constructor and Description |
|---|
OrganizationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
OrganizationConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getConfigurationType()
Indicates whether the organization uses local or central configuration.
|
String |
getStatus()
Describes whether central configuration could be enabled as the
ConfigurationType for the
organization. |
String |
getStatusMessage()
Provides an explanation if the value of
Status is equal to FAILED when
ConfigurationType is equal to CENTRAL. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConfigurationType(String configurationType)
Indicates whether the organization uses local or central configuration.
|
void |
setStatus(String status)
Describes whether central configuration could be enabled as the
ConfigurationType for the
organization. |
void |
setStatusMessage(String statusMessage)
Provides an explanation if the value of
Status is equal to FAILED when
ConfigurationType is equal to CENTRAL. |
String |
toString()
Returns a string representation of this object.
|
OrganizationConfiguration |
withConfigurationType(OrganizationConfigurationConfigurationType configurationType)
Indicates whether the organization uses local or central configuration.
|
OrganizationConfiguration |
withConfigurationType(String configurationType)
Indicates whether the organization uses local or central configuration.
|
OrganizationConfiguration |
withStatus(OrganizationConfigurationStatus status)
Describes whether central configuration could be enabled as the
ConfigurationType for the
organization. |
OrganizationConfiguration |
withStatus(String status)
Describes whether central configuration could be enabled as the
ConfigurationType for the
organization. |
OrganizationConfiguration |
withStatusMessage(String statusMessage)
Provides an explanation if the value of
Status is equal to FAILED when
ConfigurationType is equal to CENTRAL. |
public void setConfigurationType(String configurationType)
Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set AutoEnable to
true and AutoEnableStandards to DEFAULT. This automatically enables
Security Hub and default security standards in new organization accounts. These new account settings must be set
separately in each Amazon Web Services Region, and settings may be different in each Region.
If you use central configuration, the delegated administrator can create configuration policies. Configuration policies can be used to configure Security Hub, security standards, and security controls in multiple accounts and Regions. If you want new organization accounts to use a specific configuration, you can create a configuration policy and associate it with the root or specific organizational units (OUs). New accounts will inherit the policy from the root or their assigned OU.
configurationType - Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set AutoEnable
to true and AutoEnableStandards to DEFAULT. This automatically
enables Security Hub and default security standards in new organization accounts. These new account
settings must be set separately in each Amazon Web Services Region, and settings may be different in each
Region.
If you use central configuration, the delegated administrator can create configuration policies. Configuration policies can be used to configure Security Hub, security standards, and security controls in multiple accounts and Regions. If you want new organization accounts to use a specific configuration, you can create a configuration policy and associate it with the root or specific organizational units (OUs). New accounts will inherit the policy from the root or their assigned OU.
OrganizationConfigurationConfigurationTypepublic String getConfigurationType()
Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set AutoEnable to
true and AutoEnableStandards to DEFAULT. This automatically enables
Security Hub and default security standards in new organization accounts. These new account settings must be set
separately in each Amazon Web Services Region, and settings may be different in each Region.
If you use central configuration, the delegated administrator can create configuration policies. Configuration policies can be used to configure Security Hub, security standards, and security controls in multiple accounts and Regions. If you want new organization accounts to use a specific configuration, you can create a configuration policy and associate it with the root or specific organizational units (OUs). New accounts will inherit the policy from the root or their assigned OU.
If you use local configuration, the Security Hub delegated administrator can set AutoEnable
to true and AutoEnableStandards to DEFAULT. This automatically
enables Security Hub and default security standards in new organization accounts. These new account
settings must be set separately in each Amazon Web Services Region, and settings may be different in each
Region.
If you use central configuration, the delegated administrator can create configuration policies. Configuration policies can be used to configure Security Hub, security standards, and security controls in multiple accounts and Regions. If you want new organization accounts to use a specific configuration, you can create a configuration policy and associate it with the root or specific organizational units (OUs). New accounts will inherit the policy from the root or their assigned OU.
OrganizationConfigurationConfigurationTypepublic OrganizationConfiguration withConfigurationType(String configurationType)
Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set AutoEnable to
true and AutoEnableStandards to DEFAULT. This automatically enables
Security Hub and default security standards in new organization accounts. These new account settings must be set
separately in each Amazon Web Services Region, and settings may be different in each Region.
If you use central configuration, the delegated administrator can create configuration policies. Configuration policies can be used to configure Security Hub, security standards, and security controls in multiple accounts and Regions. If you want new organization accounts to use a specific configuration, you can create a configuration policy and associate it with the root or specific organizational units (OUs). New accounts will inherit the policy from the root or their assigned OU.
configurationType - Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set AutoEnable
to true and AutoEnableStandards to DEFAULT. This automatically
enables Security Hub and default security standards in new organization accounts. These new account
settings must be set separately in each Amazon Web Services Region, and settings may be different in each
Region.
If you use central configuration, the delegated administrator can create configuration policies. Configuration policies can be used to configure Security Hub, security standards, and security controls in multiple accounts and Regions. If you want new organization accounts to use a specific configuration, you can create a configuration policy and associate it with the root or specific organizational units (OUs). New accounts will inherit the policy from the root or their assigned OU.
OrganizationConfigurationConfigurationTypepublic OrganizationConfiguration withConfigurationType(OrganizationConfigurationConfigurationType configurationType)
Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set AutoEnable to
true and AutoEnableStandards to DEFAULT. This automatically enables
Security Hub and default security standards in new organization accounts. These new account settings must be set
separately in each Amazon Web Services Region, and settings may be different in each Region.
If you use central configuration, the delegated administrator can create configuration policies. Configuration policies can be used to configure Security Hub, security standards, and security controls in multiple accounts and Regions. If you want new organization accounts to use a specific configuration, you can create a configuration policy and associate it with the root or specific organizational units (OUs). New accounts will inherit the policy from the root or their assigned OU.
configurationType - Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set AutoEnable
to true and AutoEnableStandards to DEFAULT. This automatically
enables Security Hub and default security standards in new organization accounts. These new account
settings must be set separately in each Amazon Web Services Region, and settings may be different in each
Region.
If you use central configuration, the delegated administrator can create configuration policies. Configuration policies can be used to configure Security Hub, security standards, and security controls in multiple accounts and Regions. If you want new organization accounts to use a specific configuration, you can create a configuration policy and associate it with the root or specific organizational units (OUs). New accounts will inherit the policy from the root or their assigned OU.
OrganizationConfigurationConfigurationTypepublic void setStatus(String status)
Describes whether central configuration could be enabled as the ConfigurationType for the
organization. If your ConfigurationType is local configuration, then the value of
Status is always ENABLED.
status - Describes whether central configuration could be enabled as the ConfigurationType for the
organization. If your ConfigurationType is local configuration, then the value of
Status is always ENABLED.OrganizationConfigurationStatuspublic String getStatus()
Describes whether central configuration could be enabled as the ConfigurationType for the
organization. If your ConfigurationType is local configuration, then the value of
Status is always ENABLED.
ConfigurationType for the
organization. If your ConfigurationType is local configuration, then the value of
Status is always ENABLED.OrganizationConfigurationStatuspublic OrganizationConfiguration withStatus(String status)
Describes whether central configuration could be enabled as the ConfigurationType for the
organization. If your ConfigurationType is local configuration, then the value of
Status is always ENABLED.
status - Describes whether central configuration could be enabled as the ConfigurationType for the
organization. If your ConfigurationType is local configuration, then the value of
Status is always ENABLED.OrganizationConfigurationStatuspublic OrganizationConfiguration withStatus(OrganizationConfigurationStatus status)
Describes whether central configuration could be enabled as the ConfigurationType for the
organization. If your ConfigurationType is local configuration, then the value of
Status is always ENABLED.
status - Describes whether central configuration could be enabled as the ConfigurationType for the
organization. If your ConfigurationType is local configuration, then the value of
Status is always ENABLED.OrganizationConfigurationStatuspublic void setStatusMessage(String statusMessage)
Provides an explanation if the value of Status is equal to FAILED when
ConfigurationType is equal to CENTRAL.
statusMessage - Provides an explanation if the value of Status is equal to FAILED when
ConfigurationType is equal to CENTRAL.public String getStatusMessage()
Provides an explanation if the value of Status is equal to FAILED when
ConfigurationType is equal to CENTRAL.
Status is equal to FAILED when
ConfigurationType is equal to CENTRAL.public OrganizationConfiguration withStatusMessage(String statusMessage)
Provides an explanation if the value of Status is equal to FAILED when
ConfigurationType is equal to CENTRAL.
statusMessage - Provides an explanation if the value of Status is equal to FAILED when
ConfigurationType is equal to CENTRAL.public String toString()
toString in class ObjectObject.toString()public OrganizationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.