Class OrganizationConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<OrganizationConfiguration.Builder,
OrganizationConfiguration>
Provides information about the way an organization is configured in Security Hub.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Indicates whether the organization uses local or central configuration.final String
Indicates whether the organization uses local or central configuration.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends OrganizationConfiguration.Builder> status()
Describes whether central configuration could be enabled as theConfigurationType
for the organization.final String
Describes whether central configuration could be enabled as theConfigurationType
for the organization.final String
Provides an explanation if the value ofStatus
is equal toFAILED
whenConfigurationType
is equal toCENTRAL
.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
configurationType
Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set
AutoEnable
totrue
andAutoEnableStandards
toDEFAULT
. 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 the service returns an enum value that is not available in the current SDK version,
configurationType
will returnOrganizationConfigurationConfigurationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromconfigurationTypeAsString()
.- Returns:
- Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set
AutoEnable
totrue
andAutoEnableStandards
toDEFAULT
. 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.
- See Also:
-
configurationTypeAsString
Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set
AutoEnable
totrue
andAutoEnableStandards
toDEFAULT
. 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 the service returns an enum value that is not available in the current SDK version,
configurationType
will returnOrganizationConfigurationConfigurationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromconfigurationTypeAsString()
.- Returns:
- Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set
AutoEnable
totrue
andAutoEnableStandards
toDEFAULT
. 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.
- See Also:
-
status
Describes whether central configuration could be enabled as the
ConfigurationType
for the organization. If yourConfigurationType
is local configuration, then the value ofStatus
is alwaysENABLED
.If the service returns an enum value that is not available in the current SDK version,
status
will returnOrganizationConfigurationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Describes whether central configuration could be enabled as the
ConfigurationType
for the organization. If yourConfigurationType
is local configuration, then the value ofStatus
is alwaysENABLED
. - See Also:
-
statusAsString
Describes whether central configuration could be enabled as the
ConfigurationType
for the organization. If yourConfigurationType
is local configuration, then the value ofStatus
is alwaysENABLED
.If the service returns an enum value that is not available in the current SDK version,
status
will returnOrganizationConfigurationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Describes whether central configuration could be enabled as the
ConfigurationType
for the organization. If yourConfigurationType
is local configuration, then the value ofStatus
is alwaysENABLED
. - See Also:
-
statusMessage
Provides an explanation if the value of
Status
is equal toFAILED
whenConfigurationType
is equal toCENTRAL
.- Returns:
- Provides an explanation if the value of
Status
is equal toFAILED
whenConfigurationType
is equal toCENTRAL
.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<OrganizationConfiguration.Builder,
OrganizationConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-