Interface DescribeHubResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeHubResponse.Builder,
,DescribeHubResponse> SdkBuilder<DescribeHubResponse.Builder,
,DescribeHubResponse> SdkPojo
,SdkResponse.Builder
,SecurityHubResponse.Builder
- Enclosing class:
DescribeHubResponse
-
Method Summary
Modifier and TypeMethodDescriptionautoEnableControls
(Boolean autoEnableControls) Whether to automatically enable new controls when they are added to standards that are enabled.controlFindingGenerator
(String controlFindingGenerator) Specifies whether the calling account has consolidated control findings turned on.controlFindingGenerator
(ControlFindingGenerator controlFindingGenerator) Specifies whether the calling account has consolidated control findings turned on.The ARN of the Hub resource that was retrieved.subscribedAt
(String subscribedAt) The date and time when Security Hub was enabled in the account.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
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
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
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 tofalse
, 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 tofalse
, then new controls are not enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 toSECURITY_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 toSECURITY_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:
-