public class ConfigEvent extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ConfigEvent()
default constructor
|
Modifier and Type | Method and Description |
---|---|
ConfigEvent |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
Gets the account ID of the AWS Config rule that triggered the event.
|
String |
getConfigRuleArn()
Gets the ARN of the AWS Config rule that triggered the event.
|
String |
getConfigRuleId()
Gets the ID of the AWS Config rule that triggered the event.
|
String |
getConfigRuleName()
Gets the name of the AWS Config rule that triggered the event.
|
boolean |
getEventLeftScope()
Whether the AWS resource to be evaluated has been removed from the AWS Config rule's scope.
|
String |
getExecutionRoleArn()
Gets the ARN of the IAM role that is assigned to AWS Config.
|
String |
getInvokingEvent()
Gets the JSON-encoded notification published by AWS Config.
|
String |
getResultToken()
Gets the token associated with the invocation of the AWS Config rule's Lambda function.
|
String |
getRuleParameters()
Gets the JSON-encoded map containing the AWS Config rule parameters.
|
String |
getVersion()
Gets the AWS Config event version.
|
int |
hashCode() |
void |
setAccountId(String accountId)
Sets the account ID of the AWS Config rule that triggered the event.
|
void |
setConfigRuleArn(String configRuleArn)
Sets the ARN of the AWS Config rule that triggered the event.
|
void |
setConfigRuleId(String configRuleId)
Sets the ID of the AWS Config rule that triggered the event.
|
void |
setConfigRuleName(String configRuleName)
Sets the name of the AWS Config rule that triggered the event.
|
void |
setEventLeftScope(boolean eventLeftScope)
Sets whether the AWS resource to be evaluated has been removed from the AWS Config rule's scope.
|
void |
setExecutionRoleArn(String executionRoleArn)
Sets the ARN of the IAM role that is assigned to AWS Config.
|
void |
setInvokingEvent(String invokingEvent)
Sets the JSON-encoded notification published by AWS Config.
|
void |
setResultToken(String resultToken)
Sets the token associated with the invocation of the AWS Config rule's Lambda function.
|
void |
setRuleParameters(String ruleParameters)
Sets the JSON-encoded map containing the AWS Config rule parameters.
|
void |
setVersion(String version)
Sets the AWS Config event version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ConfigEvent |
withAccountId(String accountId) |
ConfigEvent |
withConfigRuleArn(String configRuleArn) |
ConfigEvent |
withConfigRuleId(String configRuleId) |
ConfigEvent |
withConfigRuleName(String configRuleName) |
ConfigEvent |
withEventLeftScope(Boolean eventLeftScope) |
ConfigEvent |
withExecutionRoleArn(String executionRoleArn) |
ConfigEvent |
withInvokingEvent(String invokingEvent) |
ConfigEvent |
withResultToken(String resultToken) |
ConfigEvent |
withRuleParameters(String ruleParameters) |
ConfigEvent |
withVersion(String version) |
public String getVersion()
public void setVersion(String version)
version
- String containing the event version.public ConfigEvent withVersion(String version)
version
- config event versionpublic String getInvokingEvent()
public void setInvokingEvent(String invokingEvent)
invokingEvent
- String containing the notification published by AWS Config.public ConfigEvent withInvokingEvent(String invokingEvent)
invokingEvent
- invoking eventpublic String getRuleParameters()
public void setRuleParameters(String ruleParameters)
ruleParameters
- String containing the AWS Config rule parameters.public ConfigEvent withRuleParameters(String ruleParameters)
ruleParameters
- String with rule parameterspublic String getResultToken()
public void setResultToken(String resultToken)
resultToken
- String containing the token associated to the invocation.public ConfigEvent withResultToken(String resultToken)
resultToken
- result tokenpublic String getConfigRuleArn()
public void setConfigRuleArn(String configRuleArn)
configRuleArn
- String containing the AWS Config rule ARN.public ConfigEvent withConfigRuleArn(String configRuleArn)
configRuleArn
- config rule for arnpublic String getConfigRuleId()
public void setConfigRuleId(String configRuleId)
configRuleId
- String containing the AWS Config rule ID.public ConfigEvent withConfigRuleId(String configRuleId)
configRuleId
- config rule idpublic String getConfigRuleName()
public void setConfigRuleName(String configRuleName)
configRuleName
- String containing the AWS Config rule name.public ConfigEvent withConfigRuleName(String configRuleName)
configRuleName
- config rule namepublic String getAccountId()
public void setAccountId(String accountId)
accountId
- String containing the account ID of the AWS Config rule.public ConfigEvent withAccountId(String accountId)
accountId
- Account idpublic String getExecutionRoleArn()
public void setExecutionRoleArn(String executionRoleArn)
executionRoleArn
- String containing the IAM role assigned to AWS Config.public ConfigEvent withExecutionRoleArn(String executionRoleArn)
executionRoleArn
- execution role arnpublic boolean getEventLeftScope()
public void setEventLeftScope(boolean eventLeftScope)
eventLeftScope
- Boolean flag indicating that the resource is no longer in scope.public ConfigEvent withEventLeftScope(Boolean eventLeftScope)
eventLeftScope
- event left scopepublic String toString()
toString
in class Object
Object.toString()
public ConfigEvent clone()
Copyright © 2019. All rights reserved.