@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetConfigurationPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetConfigurationPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetConfigurationPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the configuration policy.
|
Policy |
getConfigurationPolicy()
An object that defines how Security Hub is configured.
|
Date |
getCreatedAt()
The date and time, in UTC and ISO 8601 format, that the configuration policy was created.
|
String |
getDescription()
The description of the configuration policy.
|
String |
getId()
The UUID of the configuration policy.
|
String |
getName()
The name of the configuration policy.
|
Date |
getUpdatedAt()
The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the configuration policy.
|
void |
setConfigurationPolicy(Policy configurationPolicy)
An object that defines how Security Hub is configured.
|
void |
setCreatedAt(Date createdAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy was created.
|
void |
setDescription(String description)
The description of the configuration policy.
|
void |
setId(String id)
The UUID of the configuration policy.
|
void |
setName(String name)
The name of the configuration policy.
|
void |
setUpdatedAt(Date updatedAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
|
String |
toString()
Returns a string representation of this object.
|
GetConfigurationPolicyResult |
withArn(String arn)
The ARN of the configuration policy.
|
GetConfigurationPolicyResult |
withConfigurationPolicy(Policy configurationPolicy)
An object that defines how Security Hub is configured.
|
GetConfigurationPolicyResult |
withCreatedAt(Date createdAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy was created.
|
GetConfigurationPolicyResult |
withDescription(String description)
The description of the configuration policy.
|
GetConfigurationPolicyResult |
withId(String id)
The UUID of the configuration policy.
|
GetConfigurationPolicyResult |
withName(String name)
The name of the configuration policy.
|
GetConfigurationPolicyResult |
withUpdatedAt(Date updatedAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The ARN of the configuration policy.
arn
- The ARN of the configuration policy.public String getArn()
The ARN of the configuration policy.
public GetConfigurationPolicyResult withArn(String arn)
The ARN of the configuration policy.
arn
- The ARN of the configuration policy.public void setId(String id)
The UUID of the configuration policy.
id
- The UUID of the configuration policy.public String getId()
The UUID of the configuration policy.
public GetConfigurationPolicyResult withId(String id)
The UUID of the configuration policy.
id
- The UUID of the configuration policy.public void setName(String name)
The name of the configuration policy.
name
- The name of the configuration policy.public String getName()
The name of the configuration policy.
public GetConfigurationPolicyResult withName(String name)
The name of the configuration policy.
name
- The name of the configuration policy.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 GetConfigurationPolicyResult withDescription(String description)
The description of the configuration policy.
description
- The description of the configuration policy.public void setUpdatedAt(Date updatedAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
updatedAt
- The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.public Date getUpdatedAt()
The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
public GetConfigurationPolicyResult withUpdatedAt(Date updatedAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
updatedAt
- The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.public void setCreatedAt(Date createdAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy was created.
createdAt
- The date and time, in UTC and ISO 8601 format, that the configuration policy was created.public Date getCreatedAt()
The date and time, in UTC and ISO 8601 format, that the configuration policy was created.
public GetConfigurationPolicyResult withCreatedAt(Date createdAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy was created.
createdAt
- The date and time, in UTC and ISO 8601 format, that the configuration policy was created.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 the policy includes a list of security controls that are enabled, Security Hub disables all other controls (including newly released controls). If the policy includes a list of security controls that are disabled, 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 the policy includes a list of security controls
that are enabled, Security Hub disables all other controls (including newly released controls). If the
policy includes a list of security controls that are disabled, 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 the policy includes a list of security controls that are enabled, Security Hub disables all other controls (including newly released controls). If the policy includes a list of security controls that are disabled, Security Hub enables all other controls (including newly released controls).
public GetConfigurationPolicyResult 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 the policy includes a list of security controls that are enabled, Security Hub disables all other controls (including newly released controls). If the policy includes a list of security controls that are disabled, 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 the policy includes a list of security controls
that are enabled, Security Hub disables all other controls (including newly released controls). If the
policy includes a list of security controls that are disabled, Security Hub enables all other controls
(including newly released controls).public String toString()
toString
in class Object
Object.toString()
public GetConfigurationPolicyResult clone()