@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateConfigurationPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateConfigurationPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
CreateConfigurationPolicyRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateConfigurationPolicyRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateConfigurationPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Policy |
getConfigurationPolicy()
An object that defines how Security Hub is configured.
|
String |
getDescription()
The description of the configuration policy.
|
String |
getName()
The name of the configuration policy.
|
Map<String,String> |
getTags()
User-defined tags associated with a configuration policy.
|
int |
hashCode() |
void |
setConfigurationPolicy(Policy configurationPolicy)
An object that defines how Security Hub is configured.
|
void |
setDescription(String description)
The description of the configuration policy.
|
void |
setName(String name)
The name of the configuration policy.
|
void |
setTags(Map<String,String> tags)
User-defined tags associated with a configuration policy.
|
String |
toString()
Returns a string representation of this object.
|
CreateConfigurationPolicyRequest |
withConfigurationPolicy(Policy configurationPolicy)
An object that defines how Security Hub is configured.
|
CreateConfigurationPolicyRequest |
withDescription(String description)
The description of the configuration policy.
|
CreateConfigurationPolicyRequest |
withName(String name)
The name of the configuration policy.
|
CreateConfigurationPolicyRequest |
withTags(Map<String,String> tags)
User-defined tags associated with a configuration policy.
|
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 void setName(String name)
The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted:
-, ., !, *, /
.
name
- The name of the configuration policy. Alphanumeric characters and the following ASCII characters are
permitted: -, ., !, *, /
.public String getName()
The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted:
-, ., !, *, /
.
-, ., !, *, /
.public CreateConfigurationPolicyRequest withName(String name)
The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted:
-, ., !, *, /
.
name
- The name of the configuration policy. Alphanumeric characters and the following ASCII characters are
permitted: -, ., !, *, /
.public void setDescription(String description)
The description of the configuration policy.
description
- The description of the configuration policy.public String getDescription()
The description of the configuration policy.
public CreateConfigurationPolicyRequest withDescription(String description)
The description of the configuration policy.
description
- The description of the configuration policy.public void setConfigurationPolicy(Policy configurationPolicy)
An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).
configurationPolicy
- An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or
disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a
list of custom parameter values for specified controls. If you provide a list of security controls that
are enabled in the configuration policy, Security Hub disables all other controls (including newly
released controls). If you provide a list of security controls that are disabled in the configuration
policy, Security Hub enables all other controls (including newly released controls).public Policy getConfigurationPolicy()
An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).
public CreateConfigurationPolicyRequest withConfigurationPolicy(Policy configurationPolicy)
An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).
configurationPolicy
- An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or
disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a
list of custom parameter values for specified controls. If you provide a list of security controls that
are enabled in the configuration policy, Security Hub disables all other controls (including newly
released controls). If you provide a list of security controls that are disabled in the configuration
policy, Security Hub enables all other controls (including newly released controls).public Map<String,String> getTags()
User-defined tags associated with a configuration policy. For more information, see Tagging Security Hub resources in the Security Hub user guide.
public void setTags(Map<String,String> tags)
User-defined tags associated with a configuration policy. For more information, see Tagging Security Hub resources in the Security Hub user guide.
tags
- User-defined tags associated with a configuration policy. For more information, see Tagging Security
Hub resources in the Security Hub user guide.public CreateConfigurationPolicyRequest withTags(Map<String,String> tags)
User-defined tags associated with a configuration policy. For more information, see Tagging Security Hub resources in the Security Hub user guide.
tags
- User-defined tags associated with a configuration policy. For more information, see Tagging Security
Hub resources in the Security Hub user guide.public CreateConfigurationPolicyRequest addTagsEntry(String key, String value)
public CreateConfigurationPolicyRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateConfigurationPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()