Class UpdateOrganizationConfigurationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.securityhub.model.SecurityHubRequest
-
- software.amazon.awssdk.services.securityhub.model.UpdateOrganizationConfigurationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateOrganizationConfigurationRequest.Builder,UpdateOrganizationConfigurationRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateOrganizationConfigurationRequest extends SecurityHubRequest implements ToCopyableBuilder<UpdateOrganizationConfigurationRequest.Builder,UpdateOrganizationConfigurationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateOrganizationConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanautoEnable()Whether to automatically enable Security Hub in new member accounts when they join the organization.AutoEnableStandardsautoEnableStandards()Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.StringautoEnableStandardsAsString()Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.static UpdateOrganizationConfigurationRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OrganizationConfigurationorganizationConfiguration()Returns the value of the OrganizationConfiguration property for this object.List<SdkField<?>>sdkFields()static Class<? extends UpdateOrganizationConfigurationRequest.Builder>serializableBuilderClass()UpdateOrganizationConfigurationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
autoEnable
public final Boolean autoEnable()
Whether to automatically enable Security Hub in new member accounts when they join the organization.
If set to
true, then Security Hub is automatically enabled in new accounts. If set tofalse, then Security Hub isn't enabled in new accounts automatically. The default value isfalse.If the
ConfigurationTypeof your organization is set toCENTRAL, then this field is set tofalseand can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which Security Hub is enabled and associate the policy with new organization accounts.- Returns:
- Whether to automatically enable Security Hub in new member accounts when they join the organization.
If set to
true, then Security Hub is automatically enabled in new accounts. If set tofalse, then Security Hub isn't enabled in new accounts automatically. The default value isfalse.If the
ConfigurationTypeof your organization is set toCENTRAL, then this field is set tofalseand can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which Security Hub is enabled and associate the policy with new organization accounts.
-
autoEnableStandards
public final AutoEnableStandards autoEnableStandards()
Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.
The default value of this parameter is equal to
DEFAULT.If equal to
DEFAULT, then Security Hub default standards are automatically enabled for new member accounts. If equal toNONE, then default standards are not automatically enabled for new member accounts.If the
ConfigurationTypeof your organization is set toCENTRAL, then this field is set toNONEand can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which specific security standards are enabled and associate the policy with new organization accounts.If the service returns an enum value that is not available in the current SDK version,
autoEnableStandardswill returnAutoEnableStandards.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautoEnableStandardsAsString().- Returns:
- Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.
The default value of this parameter is equal to
DEFAULT.If equal to
DEFAULT, then Security Hub default standards are automatically enabled for new member accounts. If equal toNONE, then default standards are not automatically enabled for new member accounts.If the
ConfigurationTypeof your organization is set toCENTRAL, then this field is set toNONEand can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which specific security standards are enabled and associate the policy with new organization accounts. - See Also:
AutoEnableStandards
-
autoEnableStandardsAsString
public final String autoEnableStandardsAsString()
Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.
The default value of this parameter is equal to
DEFAULT.If equal to
DEFAULT, then Security Hub default standards are automatically enabled for new member accounts. If equal toNONE, then default standards are not automatically enabled for new member accounts.If the
ConfigurationTypeof your organization is set toCENTRAL, then this field is set toNONEand can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which specific security standards are enabled and associate the policy with new organization accounts.If the service returns an enum value that is not available in the current SDK version,
autoEnableStandardswill returnAutoEnableStandards.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautoEnableStandardsAsString().- Returns:
- Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.
The default value of this parameter is equal to
DEFAULT.If equal to
DEFAULT, then Security Hub default standards are automatically enabled for new member accounts. If equal toNONE, then default standards are not automatically enabled for new member accounts.If the
ConfigurationTypeof your organization is set toCENTRAL, then this field is set toNONEand can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which specific security standards are enabled and associate the policy with new organization accounts. - See Also:
AutoEnableStandards
-
organizationConfiguration
public final OrganizationConfiguration organizationConfiguration()
Returns the value of the OrganizationConfiguration property for this object.- Returns:
- The value of the OrganizationConfiguration property for this object.
-
toBuilder
public UpdateOrganizationConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateOrganizationConfigurationRequest.Builder,UpdateOrganizationConfigurationRequest>- Specified by:
toBuilderin classSecurityHubRequest
-
builder
public static UpdateOrganizationConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateOrganizationConfigurationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-