Interface Standard.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Standard.Builder,
,Standard> SdkBuilder<Standard.Builder,
,Standard> SdkPojo
- Enclosing class:
Standard
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the standard.enabledByDefault
(Boolean enabledByDefault) Whether the standard is enabled by default.The name of the standard.standardsArn
(String standardsArn) The ARN of a standard.default Standard.Builder
standardsManagedBy
(Consumer<StandardsManagedBy.Builder> standardsManagedBy) Provides details about the management of a standard.standardsManagedBy
(StandardsManagedBy standardsManagedBy) Provides details about the management of a standard.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 Details
-
standardsArn
The ARN of a standard.
- Parameters:
standardsArn
- The ARN of a standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the standard.
- Parameters:
name
- The name of the standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the standard.
- Parameters:
description
- A description of the standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledByDefault
Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard is enabled by default, the check box for that standard is selected by default.
When Security Hub is enabled using the
EnableSecurityHub
API operation, the standard is enabled by default unlessEnableDefaultStandards
is set tofalse
.- Parameters:
enabledByDefault
- Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard is enabled by default, the check box for that standard is selected by default.When Security Hub is enabled using the
EnableSecurityHub
API operation, the standard is enabled by default unlessEnableDefaultStandards
is set tofalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsManagedBy
Provides details about the management of a standard.
- Parameters:
standardsManagedBy
- Provides details about the management of a standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsManagedBy
default Standard.Builder standardsManagedBy(Consumer<StandardsManagedBy.Builder> standardsManagedBy) Provides details about the management of a standard.
This is a convenience method that creates an instance of theStandardsManagedBy.Builder
avoiding the need to create one manually viaStandardsManagedBy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostandardsManagedBy(StandardsManagedBy)
.- Parameters:
standardsManagedBy
- a consumer that will call methods onStandardsManagedBy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-