Class ApprovalRuleTemplate
- java.lang.Object
-
- software.amazon.awssdk.services.codecommit.model.ApprovalRuleTemplate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ApprovalRuleTemplate.Builder,ApprovalRuleTemplate>
@Generated("software.amazon.awssdk:codegen") public final class ApprovalRuleTemplate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApprovalRuleTemplate.Builder,ApprovalRuleTemplate>
Returns information about an approval rule template.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceApprovalRuleTemplate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapprovalRuleTemplateContent()The content of the approval rule template.StringapprovalRuleTemplateDescription()The description of the approval rule template.StringapprovalRuleTemplateId()The system-generated ID of the approval rule template.StringapprovalRuleTemplateName()The name of the approval rule template.static ApprovalRuleTemplate.Builderbuilder()InstantcreationDate()The date the approval rule template was created, in timestamp format.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedDate()The date the approval rule template was most recently changed, in timestamp format.StringlastModifiedUser()The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.StringruleContentSha256()The SHA-256 hash signature for the content of the approval rule template.List<SdkField<?>>sdkFields()static Class<? extends ApprovalRuleTemplate.Builder>serializableBuilderClass()ApprovalRuleTemplate.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
approvalRuleTemplateId
public final String approvalRuleTemplateId()
The system-generated ID of the approval rule template.
- Returns:
- The system-generated ID of the approval rule template.
-
approvalRuleTemplateName
public final String approvalRuleTemplateName()
The name of the approval rule template.
- Returns:
- The name of the approval rule template.
-
approvalRuleTemplateDescription
public final String approvalRuleTemplateDescription()
The description of the approval rule template.
- Returns:
- The description of the approval rule template.
-
approvalRuleTemplateContent
public final String approvalRuleTemplateContent()
The content of the approval rule template.
- Returns:
- The content of the approval rule template.
-
ruleContentSha256
public final String ruleContentSha256()
The SHA-256 hash signature for the content of the approval rule template.
- Returns:
- The SHA-256 hash signature for the content of the approval rule template.
-
lastModifiedDate
public final Instant lastModifiedDate()
The date the approval rule template was most recently changed, in timestamp format.
- Returns:
- The date the approval rule template was most recently changed, in timestamp format.
-
creationDate
public final Instant creationDate()
The date the approval rule template was created, in timestamp format.
- Returns:
- The date the approval rule template was created, in timestamp format.
-
lastModifiedUser
public final String lastModifiedUser()
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.
- Returns:
- The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.
-
toBuilder
public ApprovalRuleTemplate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ApprovalRuleTemplate.Builder,ApprovalRuleTemplate>
-
builder
public static ApprovalRuleTemplate.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApprovalRuleTemplate.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-