@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApprovalRule extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about an approval rule.
Constructor and Description |
---|
ApprovalRule() |
Modifier and Type | Method and Description |
---|---|
ApprovalRule |
clone() |
boolean |
equals(Object obj) |
String |
getApprovalRuleContent()
The content of the approval rule.
|
String |
getApprovalRuleId()
The system-generated ID of the approval rule.
|
String |
getApprovalRuleName()
The name of the approval rule.
|
Date |
getCreationDate()
The date the approval rule was created, in timestamp format.
|
Date |
getLastModifiedDate()
The date the approval rule was most recently changed, in timestamp format.
|
String |
getLastModifiedUser()
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.
|
OriginApprovalRuleTemplate |
getOriginApprovalRuleTemplate()
The approval rule template used to create the rule.
|
String |
getRuleContentSha256()
The SHA-256 hash signature for the content of the approval rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApprovalRuleContent(String approvalRuleContent)
The content of the approval rule.
|
void |
setApprovalRuleId(String approvalRuleId)
The system-generated ID of the approval rule.
|
void |
setApprovalRuleName(String approvalRuleName)
The name of the approval rule.
|
void |
setCreationDate(Date creationDate)
The date the approval rule was created, in timestamp format.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date the approval rule was most recently changed, in timestamp format.
|
void |
setLastModifiedUser(String lastModifiedUser)
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.
|
void |
setOriginApprovalRuleTemplate(OriginApprovalRuleTemplate originApprovalRuleTemplate)
The approval rule template used to create the rule.
|
void |
setRuleContentSha256(String ruleContentSha256)
The SHA-256 hash signature for the content of the approval rule.
|
String |
toString()
Returns a string representation of this object.
|
ApprovalRule |
withApprovalRuleContent(String approvalRuleContent)
The content of the approval rule.
|
ApprovalRule |
withApprovalRuleId(String approvalRuleId)
The system-generated ID of the approval rule.
|
ApprovalRule |
withApprovalRuleName(String approvalRuleName)
The name of the approval rule.
|
ApprovalRule |
withCreationDate(Date creationDate)
The date the approval rule was created, in timestamp format.
|
ApprovalRule |
withLastModifiedDate(Date lastModifiedDate)
The date the approval rule was most recently changed, in timestamp format.
|
ApprovalRule |
withLastModifiedUser(String lastModifiedUser)
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.
|
ApprovalRule |
withOriginApprovalRuleTemplate(OriginApprovalRuleTemplate originApprovalRuleTemplate)
The approval rule template used to create the rule.
|
ApprovalRule |
withRuleContentSha256(String ruleContentSha256)
The SHA-256 hash signature for the content of the approval rule.
|
public void setApprovalRuleId(String approvalRuleId)
The system-generated ID of the approval rule.
approvalRuleId
- The system-generated ID of the approval rule.public String getApprovalRuleId()
The system-generated ID of the approval rule.
public ApprovalRule withApprovalRuleId(String approvalRuleId)
The system-generated ID of the approval rule.
approvalRuleId
- The system-generated ID of the approval rule.public void setApprovalRuleName(String approvalRuleName)
The name of the approval rule.
approvalRuleName
- The name of the approval rule.public String getApprovalRuleName()
The name of the approval rule.
public ApprovalRule withApprovalRuleName(String approvalRuleName)
The name of the approval rule.
approvalRuleName
- The name of the approval rule.public void setApprovalRuleContent(String approvalRuleContent)
The content of the approval rule.
approvalRuleContent
- The content of the approval rule.public String getApprovalRuleContent()
The content of the approval rule.
public ApprovalRule withApprovalRuleContent(String approvalRuleContent)
The content of the approval rule.
approvalRuleContent
- The content of the approval rule.public void setRuleContentSha256(String ruleContentSha256)
The SHA-256 hash signature for the content of the approval rule.
ruleContentSha256
- The SHA-256 hash signature for the content of the approval rule.public String getRuleContentSha256()
The SHA-256 hash signature for the content of the approval rule.
public ApprovalRule withRuleContentSha256(String ruleContentSha256)
The SHA-256 hash signature for the content of the approval rule.
ruleContentSha256
- The SHA-256 hash signature for the content of the approval rule.public void setLastModifiedDate(Date lastModifiedDate)
The date the approval rule was most recently changed, in timestamp format.
lastModifiedDate
- The date the approval rule was most recently changed, in timestamp format.public Date getLastModifiedDate()
The date the approval rule was most recently changed, in timestamp format.
public ApprovalRule withLastModifiedDate(Date lastModifiedDate)
The date the approval rule was most recently changed, in timestamp format.
lastModifiedDate
- The date the approval rule was most recently changed, in timestamp format.public void setCreationDate(Date creationDate)
The date the approval rule was created, in timestamp format.
creationDate
- The date the approval rule was created, in timestamp format.public Date getCreationDate()
The date the approval rule was created, in timestamp format.
public ApprovalRule withCreationDate(Date creationDate)
The date the approval rule was created, in timestamp format.
creationDate
- The date the approval rule was created, in timestamp format.public void setLastModifiedUser(String lastModifiedUser)
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.
lastModifiedUser
- The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.public String getLastModifiedUser()
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.
public ApprovalRule withLastModifiedUser(String lastModifiedUser)
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.
lastModifiedUser
- The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.public void setOriginApprovalRuleTemplate(OriginApprovalRuleTemplate originApprovalRuleTemplate)
The approval rule template used to create the rule.
originApprovalRuleTemplate
- The approval rule template used to create the rule.public OriginApprovalRuleTemplate getOriginApprovalRuleTemplate()
The approval rule template used to create the rule.
public ApprovalRule withOriginApprovalRuleTemplate(OriginApprovalRuleTemplate originApprovalRuleTemplate)
The approval rule template used to create the rule.
originApprovalRuleTemplate
- The approval rule template used to create the rule.public String toString()
toString
in class Object
Object.toString()
public ApprovalRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.