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 Details

    • 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

      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 EnableSecurityHub API operation, the standard is enabled by default unless EnableDefaultStandards is set to false.

      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 unless EnableDefaultStandards is set to false.

      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 the StandardsManagedBy.Builder avoiding the need to create one manually via StandardsManagedBy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to standardsManagedBy(StandardsManagedBy).

      Parameters:
      standardsManagedBy - a consumer that will call methods on StandardsManagedBy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: