@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OriginApprovalRuleTemplate extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about the template that created the approval rule for a pull request.
| Constructor and Description |
|---|
OriginApprovalRuleTemplate() |
| Modifier and Type | Method and Description |
|---|---|
OriginApprovalRuleTemplate |
clone() |
boolean |
equals(Object obj) |
String |
getApprovalRuleTemplateId()
The ID of the template that created the approval rule.
|
String |
getApprovalRuleTemplateName()
The name of the template that created the approval rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setApprovalRuleTemplateId(String approvalRuleTemplateId)
The ID of the template that created the approval rule.
|
void |
setApprovalRuleTemplateName(String approvalRuleTemplateName)
The name of the template that created the approval rule.
|
String |
toString()
Returns a string representation of this object.
|
OriginApprovalRuleTemplate |
withApprovalRuleTemplateId(String approvalRuleTemplateId)
The ID of the template that created the approval rule.
|
OriginApprovalRuleTemplate |
withApprovalRuleTemplateName(String approvalRuleTemplateName)
The name of the template that created the approval rule.
|
public void setApprovalRuleTemplateId(String approvalRuleTemplateId)
The ID of the template that created the approval rule.
approvalRuleTemplateId - The ID of the template that created the approval rule.public String getApprovalRuleTemplateId()
The ID of the template that created the approval rule.
public OriginApprovalRuleTemplate withApprovalRuleTemplateId(String approvalRuleTemplateId)
The ID of the template that created the approval rule.
approvalRuleTemplateId - The ID of the template that created the approval rule.public void setApprovalRuleTemplateName(String approvalRuleTemplateName)
The name of the template that created the approval rule.
approvalRuleTemplateName - The name of the template that created the approval rule.public String getApprovalRuleTemplateName()
The name of the template that created the approval rule.
public OriginApprovalRuleTemplate withApprovalRuleTemplateName(String approvalRuleTemplateName)
The name of the template that created the approval rule.
approvalRuleTemplateName - The name of the template that created the approval rule.public String toString()
toString in class ObjectObject.toString()public OriginApprovalRuleTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.