Class OrganizationConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.OrganizationConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OrganizationConfiguration.Builder,OrganizationConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class OrganizationConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OrganizationConfiguration.Builder,OrganizationConfiguration>
Provides information about the way an organization is configured in Security Hub.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOrganizationConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OrganizationConfiguration.Builderbuilder()OrganizationConfigurationConfigurationTypeconfigurationType()Indicates whether the organization uses local or central configuration.StringconfigurationTypeAsString()Indicates whether the organization uses local or central configuration.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends OrganizationConfiguration.Builder>serializableBuilderClass()OrganizationConfigurationStatusstatus()Describes whether central configuration could be enabled as theConfigurationTypefor the organization.StringstatusAsString()Describes whether central configuration could be enabled as theConfigurationTypefor the organization.StringstatusMessage()Provides an explanation if the value ofStatusis equal toFAILEDwhenConfigurationTypeis equal toCENTRAL.OrganizationConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
configurationType
public final OrganizationConfigurationConfigurationType configurationType()
Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set
AutoEnabletotrueandAutoEnableStandardstoDEFAULT. 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,
configurationTypewill 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
AutoEnabletotrueandAutoEnableStandardstoDEFAULT. 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:
OrganizationConfigurationConfigurationType
-
configurationTypeAsString
public final String configurationTypeAsString()
Indicates whether the organization uses local or central configuration.
If you use local configuration, the Security Hub delegated administrator can set
AutoEnabletotrueandAutoEnableStandardstoDEFAULT. 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,
configurationTypewill 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
AutoEnabletotrueandAutoEnableStandardstoDEFAULT. 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:
OrganizationConfigurationConfigurationType
-
status
public final OrganizationConfigurationStatus status()
Describes whether central configuration could be enabled as the
ConfigurationTypefor the organization. If yourConfigurationTypeis local configuration, then the value ofStatusis alwaysENABLED.If the service returns an enum value that is not available in the current SDK version,
statuswill 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
ConfigurationTypefor the organization. If yourConfigurationTypeis local configuration, then the value ofStatusis alwaysENABLED. - See Also:
OrganizationConfigurationStatus
-
statusAsString
public final String statusAsString()
Describes whether central configuration could be enabled as the
ConfigurationTypefor the organization. If yourConfigurationTypeis local configuration, then the value ofStatusis alwaysENABLED.If the service returns an enum value that is not available in the current SDK version,
statuswill 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
ConfigurationTypefor the organization. If yourConfigurationTypeis local configuration, then the value ofStatusis alwaysENABLED. - See Also:
OrganizationConfigurationStatus
-
statusMessage
public final String statusMessage()
Provides an explanation if the value of
Statusis equal toFAILEDwhenConfigurationTypeis equal toCENTRAL.- Returns:
- Provides an explanation if the value of
Statusis equal toFAILEDwhenConfigurationTypeis equal toCENTRAL.
-
toBuilder
public OrganizationConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OrganizationConfiguration.Builder,OrganizationConfiguration>
-
builder
public static OrganizationConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends OrganizationConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-