Interface Standard.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Standard.Builder,Standard>,SdkBuilder<Standard.Builder,Standard>,SdkPojo
- Enclosing class:
- Standard
public static interface Standard.Builder extends SdkPojo, CopyableBuilder<Standard.Builder,Standard>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Standard.Builderdescription(String description)A description of the standard.Standard.BuilderenabledByDefault(Boolean enabledByDefault)Whether the standard is enabled by default.Standard.Buildername(String name)The name of the standard.Standard.BuilderstandardsArn(String standardsArn)The ARN of a standard.default Standard.BuilderstandardsManagedBy(Consumer<StandardsManagedBy.Builder> standardsManagedBy)Provides details about the management of a standard.Standard.BuilderstandardsManagedBy(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
standardsArn
Standard.Builder standardsArn(String 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
Standard.Builder name(String 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
Standard.Builder description(String 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
Standard.Builder enabledByDefault(Boolean 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
EnableSecurityHubAPI operation, the standard is enabled by default unlessEnableDefaultStandardsis 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
EnableSecurityHubAPI operation, the standard is enabled by default unlessEnableDefaultStandardsis set tofalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsManagedBy
Standard.Builder standardsManagedBy(StandardsManagedBy 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.Builderavoiding the need to create one manually viaStandardsManagedBy.builder().When the
Consumercompletes,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:
standardsManagedBy(StandardsManagedBy)
-
-