Class UpdateSecurityHubConfigurationRequest
- 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.UpdateSecurityHubConfigurationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateSecurityHubConfigurationRequest.Builder,UpdateSecurityHubConfigurationRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateSecurityHubConfigurationRequest extends SecurityHubRequest implements ToCopyableBuilder<UpdateSecurityHubConfigurationRequest.Builder,UpdateSecurityHubConfigurationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateSecurityHubConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanautoEnableControls()Whether to automatically enable new controls when they are added to standards that are enabled.static UpdateSecurityHubConfigurationRequest.Builderbuilder()ControlFindingGeneratorcontrolFindingGenerator()Updates whether the calling account has consolidated control findings turned on.StringcontrolFindingGeneratorAsString()Updates whether the calling account has consolidated control findings turned on.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UpdateSecurityHubConfigurationRequest.Builder>serializableBuilderClass()UpdateSecurityHubConfigurationRequest.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
-
autoEnableControls
public final Boolean autoEnableControls()
Whether to automatically enable new controls when they are added to standards that are enabled.
By default, this is set to
true, and new controls are enabled automatically. To not automatically enable new controls, set this tofalse.- Returns:
- Whether to automatically enable new controls when they are added to standards that are enabled.
By default, this is set to
true, and new controls are enabled automatically. To not automatically enable new controls, set this tofalse.
-
controlFindingGenerator
public final ControlFindingGenerator controlFindingGenerator()
Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to
SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.If the value for this field is set to
STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.For accounts that are part of an organization, this value can only be updated in the administrator account.
If the service returns an enum value that is not available in the current SDK version,
controlFindingGeneratorwill returnControlFindingGenerator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontrolFindingGeneratorAsString().- Returns:
- Updates whether the calling account has consolidated control findings turned on. If the value for this
field is set to
SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.If the value for this field is set to
STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.For accounts that are part of an organization, this value can only be updated in the administrator account.
- See Also:
ControlFindingGenerator
-
controlFindingGeneratorAsString
public final String controlFindingGeneratorAsString()
Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to
SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.If the value for this field is set to
STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.For accounts that are part of an organization, this value can only be updated in the administrator account.
If the service returns an enum value that is not available in the current SDK version,
controlFindingGeneratorwill returnControlFindingGenerator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontrolFindingGeneratorAsString().- Returns:
- Updates whether the calling account has consolidated control findings turned on. If the value for this
field is set to
SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.If the value for this field is set to
STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.For accounts that are part of an organization, this value can only be updated in the administrator account.
- See Also:
ControlFindingGenerator
-
toBuilder
public UpdateSecurityHubConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateSecurityHubConfigurationRequest.Builder,UpdateSecurityHubConfigurationRequest>- Specified by:
toBuilderin classSecurityHubRequest
-
builder
public static UpdateSecurityHubConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateSecurityHubConfigurationRequest.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
-
-