@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableSecurityHubRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
EnableSecurityHubRequest() |
Modifier and Type | Method and Description |
---|---|
EnableSecurityHubRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
EnableSecurityHubRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
EnableSecurityHubRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getEnableDefaultStandards()
Whether to enable the security standards that Security Hub has designated as automatically enabled.
|
Map<String,String> |
getTags()
The tags to add to the hub resource when you enable Security Hub.
|
int |
hashCode() |
Boolean |
isEnableDefaultStandards()
Whether to enable the security standards that Security Hub has designated as automatically enabled.
|
void |
setEnableDefaultStandards(Boolean enableDefaultStandards)
Whether to enable the security standards that Security Hub has designated as automatically enabled.
|
void |
setTags(Map<String,String> tags)
The tags to add to the hub resource when you enable Security Hub.
|
String |
toString()
Returns a string representation of this object.
|
EnableSecurityHubRequest |
withEnableDefaultStandards(Boolean enableDefaultStandards)
Whether to enable the security standards that Security Hub has designated as automatically enabled.
|
EnableSecurityHubRequest |
withTags(Map<String,String> tags)
The tags to add to the hub resource when you enable Security Hub.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public Map<String,String> getTags()
The tags to add to the hub resource when you enable Security Hub.
public void setTags(Map<String,String> tags)
The tags to add to the hub resource when you enable Security Hub.
tags
- The tags to add to the hub resource when you enable Security Hub.public EnableSecurityHubRequest withTags(Map<String,String> tags)
The tags to add to the hub resource when you enable Security Hub.
tags
- The tags to add to the hub resource when you enable Security Hub.public EnableSecurityHubRequest addTagsEntry(String key, String value)
public EnableSecurityHubRequest clearTagsEntries()
public void setEnableDefaultStandards(Boolean enableDefaultStandards)
Whether to enable the security standards that Security Hub has designated as automatically enabled. If you do not
provide a value for EnableDefaultStandards
, it is set to true
. To not enable the
automatically enabled standards, set EnableDefaultStandards
to false
.
enableDefaultStandards
- Whether to enable the security standards that Security Hub has designated as automatically enabled. If you
do not provide a value for EnableDefaultStandards
, it is set to true
. To not
enable the automatically enabled standards, set EnableDefaultStandards
to false
.public Boolean getEnableDefaultStandards()
Whether to enable the security standards that Security Hub has designated as automatically enabled. If you do not
provide a value for EnableDefaultStandards
, it is set to true
. To not enable the
automatically enabled standards, set EnableDefaultStandards
to false
.
EnableDefaultStandards
, it is set to true
. To
not enable the automatically enabled standards, set EnableDefaultStandards
to
false
.public EnableSecurityHubRequest withEnableDefaultStandards(Boolean enableDefaultStandards)
Whether to enable the security standards that Security Hub has designated as automatically enabled. If you do not
provide a value for EnableDefaultStandards
, it is set to true
. To not enable the
automatically enabled standards, set EnableDefaultStandards
to false
.
enableDefaultStandards
- Whether to enable the security standards that Security Hub has designated as automatically enabled. If you
do not provide a value for EnableDefaultStandards
, it is set to true
. To not
enable the automatically enabled standards, set EnableDefaultStandards
to false
.public Boolean isEnableDefaultStandards()
Whether to enable the security standards that Security Hub has designated as automatically enabled. If you do not
provide a value for EnableDefaultStandards
, it is set to true
. To not enable the
automatically enabled standards, set EnableDefaultStandards
to false
.
EnableDefaultStandards
, it is set to true
. To
not enable the automatically enabled standards, set EnableDefaultStandards
to
false
.public String toString()
toString
in class Object
Object.toString()
public EnableSecurityHubRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()