@Generated(value="software.amazon.awssdk:codegen") public final class ApprovalRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApprovalRule.Builder,ApprovalRule>
Returns information about an approval rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ApprovalRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
approvalRuleContent()
The content of the approval rule.
|
String |
approvalRuleId()
The system-generated ID of the approval rule.
|
String |
approvalRuleName()
The name of the approval rule.
|
static ApprovalRule.Builder |
builder() |
Instant |
creationDate()
The date the approval rule was created, in timestamp format.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedDate()
The date the approval rule was most recently changed, in timestamp format.
|
String |
lastModifiedUser()
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.
|
OriginApprovalRuleTemplate |
originApprovalRuleTemplate()
The approval rule template used to create the rule.
|
String |
ruleContentSha256()
The SHA-256 hash signature for the content of the approval rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ApprovalRule.Builder> |
serializableBuilderClass() |
ApprovalRule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String approvalRuleId()
The system-generated ID of the approval rule.
public String approvalRuleName()
The name of the approval rule.
public String approvalRuleContent()
The content of the approval rule.
public String ruleContentSha256()
The SHA-256 hash signature for the content of the approval rule.
public Instant lastModifiedDate()
The date the approval rule was most recently changed, in timestamp format.
public Instant creationDate()
The date the approval rule was created, in timestamp format.
public String lastModifiedUser()
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.
public OriginApprovalRuleTemplate originApprovalRuleTemplate()
The approval rule template used to create the rule.
public ApprovalRule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ApprovalRule.Builder,ApprovalRule>public static ApprovalRule.Builder builder()
public static Class<? extends ApprovalRule.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.