Interface SecurityHubPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SecurityHubPolicy.Builder,
,SecurityHubPolicy> SdkBuilder<SecurityHubPolicy.Builder,
,SecurityHubPolicy> SdkPojo
- Enclosing class:
SecurityHubPolicy
-
Method Summary
Modifier and TypeMethodDescriptionenabledStandardIdentifiers
(String... enabledStandardIdentifiers) A list that defines which security standards are enabled in the configuration policy.enabledStandardIdentifiers
(Collection<String> enabledStandardIdentifiers) A list that defines which security standards are enabled in the configuration policy.default SecurityHubPolicy.Builder
securityControlsConfiguration
(Consumer<SecurityControlsConfiguration.Builder> securityControlsConfiguration) An object that defines which security controls are enabled in the configuration policy.securityControlsConfiguration
(SecurityControlsConfiguration securityControlsConfiguration) An object that defines which security controls are enabled in the configuration policy.serviceEnabled
(Boolean serviceEnabled) Indicates whether Security Hub is enabled in the policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serviceEnabled
Indicates whether Security Hub is enabled in the policy.
- Parameters:
serviceEnabled
- Indicates whether Security Hub is enabled in the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledStandardIdentifiers
A list that defines which security standards are enabled in the configuration policy.
- Parameters:
enabledStandardIdentifiers
- A list that defines which security standards are enabled in the configuration policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledStandardIdentifiers
A list that defines which security standards are enabled in the configuration policy.
- Parameters:
enabledStandardIdentifiers
- A list that defines which security standards are enabled in the configuration policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityControlsConfiguration
SecurityHubPolicy.Builder securityControlsConfiguration(SecurityControlsConfiguration securityControlsConfiguration) An object that defines which security controls are enabled in the configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account.
- Parameters:
securityControlsConfiguration
- An object that defines which security controls are enabled in the configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityControlsConfiguration
default SecurityHubPolicy.Builder securityControlsConfiguration(Consumer<SecurityControlsConfiguration.Builder> securityControlsConfiguration) An object that defines which security controls are enabled in the configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account.
This is a convenience method that creates an instance of theSecurityControlsConfiguration.Builder
avoiding the need to create one manually viaSecurityControlsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecurityControlsConfiguration(SecurityControlsConfiguration)
.- Parameters:
securityControlsConfiguration
- a consumer that will call methods onSecurityControlsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-