@Generated(value="software.amazon.awssdk:codegen") public final class DescribeHubResponse extends SecurityHubResponse implements ToCopyableBuilder<DescribeHubResponse.Builder,DescribeHubResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeHubResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoEnableControls()
Whether to automatically enable new controls when they are added to standards that are enabled.
|
static DescribeHubResponse.Builder |
builder() |
ControlFindingGenerator |
controlFindingGenerator()
Specifies whether the calling account has consolidated control findings turned on.
|
String |
controlFindingGeneratorAsString()
Specifies whether the calling account has consolidated control findings turned on.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hubArn()
The ARN of the Hub resource that was retrieved.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeHubResponse.Builder> |
serializableBuilderClass() |
String |
subscribedAt()
The date and time when Security Hub was enabled in the account.
|
DescribeHubResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String hubArn()
The ARN of the Hub resource that was retrieved.
public final String subscribedAt()
The date and time when Security Hub was enabled in the account.
public final 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.
If set to true, then new controls for enabled standards are enabled automatically. If set to
false, then new controls are not enabled.
public final 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.
If the service returns an enum value that is not available in the current SDK version,
controlFindingGenerator will return ControlFindingGenerator.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from controlFindingGeneratorAsString().
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.
ControlFindingGeneratorpublic final String controlFindingGeneratorAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
controlFindingGenerator will return ControlFindingGenerator.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from controlFindingGeneratorAsString().
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.
ControlFindingGeneratorpublic DescribeHubResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeHubResponse.Builder,DescribeHubResponse>toBuilder in class AwsResponsepublic static DescribeHubResponse.Builder builder()
public static Class<? extends DescribeHubResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.