Interface DescribeHubResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeHubResponse.Builder,DescribeHubResponse>, SdkBuilder<DescribeHubResponse.Builder,DescribeHubResponse>, SdkPojo, SdkResponse.Builder, SecurityHubResponse.Builder
Enclosing class:
DescribeHubResponse

public static interface DescribeHubResponse.Builder extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<DescribeHubResponse.Builder,DescribeHubResponse>
  • Method Details

    • hubArn

      The ARN of the Hub resource that was retrieved.

      Parameters:
      hubArn - The ARN of the Hub resource that was retrieved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscribedAt

      DescribeHubResponse.Builder subscribedAt(String subscribedAt)

      The date and time when Security Hub was enabled in the account.

      Parameters:
      subscribedAt - The date and time when Security Hub was enabled in the account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoEnableControls

      DescribeHubResponse.Builder autoEnableControls(Boolean autoEnableControls)

      Whether to automatically enable new controls when they are added to standards that are enabled.

      If set to true, then new controls for enabled standards are enabled automatically. If set to false, then new controls are not enabled.

      Parameters:
      autoEnableControls - Whether to automatically enable new controls when they are added to standards that are enabled.

      If set to true, then new controls for enabled standards are enabled automatically. If set to false, then new controls are not enabled.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controlFindingGenerator

      DescribeHubResponse.Builder controlFindingGenerator(String controlFindingGenerator)

      Specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.

      If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.

      The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL if you enabled Security Hub on or after February 23, 2023.

      Parameters:
      controlFindingGenerator - Specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.

      If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.

      The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL if you enabled Security Hub on or after February 23, 2023.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • controlFindingGenerator

      DescribeHubResponse.Builder controlFindingGenerator(ControlFindingGenerator controlFindingGenerator)

      Specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.

      If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.

      The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL if you enabled Security Hub on or after February 23, 2023.

      Parameters:
      controlFindingGenerator - Specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.

      If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.

      The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL if you enabled Security Hub on or after February 23, 2023.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: