@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateConfigurationPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateConfigurationPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateConfigurationPolicyRequest |
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 |
getIdentifier()
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
|
String |
getName()
The name of the configuration policy.
|
String |
getUpdatedReason()
The reason for updating the 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 |
setIdentifier(String identifier)
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
|
void |
setName(String name)
The name of the configuration policy.
|
void |
setUpdatedReason(String updatedReason)
The reason for updating the configuration policy.
|
String |
toString()
Returns a string representation of this object.
|
UpdateConfigurationPolicyRequest |
withConfigurationPolicy(Policy configurationPolicy)
An object that defines how Security Hub is configured.
|
UpdateConfigurationPolicyRequest |
withDescription(String description)
The description of the configuration policy.
|
UpdateConfigurationPolicyRequest |
withIdentifier(String identifier)
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
|
UpdateConfigurationPolicyRequest |
withName(String name)
The name of the configuration policy.
|
UpdateConfigurationPolicyRequest |
withUpdatedReason(String updatedReason)
The reason for updating the 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 setIdentifier(String identifier)
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
identifier
- The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.public String getIdentifier()
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
public UpdateConfigurationPolicyRequest withIdentifier(String identifier)
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
identifier
- The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.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 UpdateConfigurationPolicyRequest 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 UpdateConfigurationPolicyRequest withDescription(String description)
The description of the configuration policy.
description
- The description of the configuration policy.public void setUpdatedReason(String updatedReason)
The reason for updating the configuration policy.
updatedReason
- The reason for updating the configuration policy.public String getUpdatedReason()
The reason for updating the configuration policy.
public UpdateConfigurationPolicyRequest withUpdatedReason(String updatedReason)
The reason for updating the configuration policy.
updatedReason
- The reason for updating 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).
When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list of controls that you want to enable or disable. The updated configuration replaces the current configuration.
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).
When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list of controls that you want to enable or disable. The updated configuration replaces the current configuration.
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).
When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list of controls that you want to enable or disable. The updated configuration replaces the current configuration.
When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list of controls that you want to enable or disable. The updated configuration replaces the current configuration.
public UpdateConfigurationPolicyRequest 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).
When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list of controls that you want to enable or disable. The updated configuration replaces the current configuration.
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).
When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list of controls that you want to enable or disable. The updated configuration replaces the current configuration.
public String toString()
toString
in class Object
Object.toString()
public UpdateConfigurationPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()