Interface SecurityHubPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SecurityHubPolicy.Builder,SecurityHubPolicy>,SdkBuilder<SecurityHubPolicy.Builder,SecurityHubPolicy>,SdkPojo
- Enclosing class:
- SecurityHubPolicy
public static interface SecurityHubPolicy.Builder extends SdkPojo, CopyableBuilder<SecurityHubPolicy.Builder,SecurityHubPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SecurityHubPolicy.BuilderenabledStandardIdentifiers(String... enabledStandardIdentifiers)A list that defines which security standards are enabled in the configuration policy.SecurityHubPolicy.BuilderenabledStandardIdentifiers(Collection<String> enabledStandardIdentifiers)A list that defines which security standards are enabled in the configuration policy.default SecurityHubPolicy.BuildersecurityControlsConfiguration(Consumer<SecurityControlsConfiguration.Builder> securityControlsConfiguration)An object that defines which security controls are enabled in the configuration policy.SecurityHubPolicy.BuildersecurityControlsConfiguration(SecurityControlsConfiguration securityControlsConfiguration)An object that defines which security controls are enabled in the configuration policy.SecurityHubPolicy.BuilderserviceEnabled(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, sdkFields
-
-
-
-
Method Detail
-
serviceEnabled
SecurityHubPolicy.Builder serviceEnabled(Boolean 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
SecurityHubPolicy.Builder enabledStandardIdentifiers(Collection<String> 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
SecurityHubPolicy.Builder enabledStandardIdentifiers(String... 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.Builderavoiding the need to create one manually viaSecurityControlsConfiguration.builder().When the
Consumercompletes,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:
securityControlsConfiguration(SecurityControlsConfiguration)
-
-