@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateApprovalRuleTemplateContentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateApprovalRuleTemplateContentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateApprovalRuleTemplateContentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApprovalRuleTemplateName()
The name of the approval rule template where you want to update the content of the rule.
|
String |
getExistingRuleContentSha256()
The SHA-256 hash signature for the content of the approval rule.
|
String |
getNewRuleContent()
The content that replaces the existing content of the rule.
|
int |
hashCode() |
void |
setApprovalRuleTemplateName(String approvalRuleTemplateName)
The name of the approval rule template where you want to update the content of the rule.
|
void |
setExistingRuleContentSha256(String existingRuleContentSha256)
The SHA-256 hash signature for the content of the approval rule.
|
void |
setNewRuleContent(String newRuleContent)
The content that replaces the existing content of the rule.
|
String |
toString()
Returns a string representation of this object.
|
UpdateApprovalRuleTemplateContentRequest |
withApprovalRuleTemplateName(String approvalRuleTemplateName)
The name of the approval rule template where you want to update the content of the rule.
|
UpdateApprovalRuleTemplateContentRequest |
withExistingRuleContentSha256(String existingRuleContentSha256)
The SHA-256 hash signature for the content of the approval rule.
|
UpdateApprovalRuleTemplateContentRequest |
withNewRuleContent(String newRuleContent)
The content that replaces the existing content of the rule.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public UpdateApprovalRuleTemplateContentRequest()
public void setApprovalRuleTemplateName(String approvalRuleTemplateName)
The name of the approval rule template where you want to update the content of the rule.
approvalRuleTemplateName
- The name of the approval rule template where you want to update the content of the rule.public String getApprovalRuleTemplateName()
The name of the approval rule template where you want to update the content of the rule.
public UpdateApprovalRuleTemplateContentRequest withApprovalRuleTemplateName(String approvalRuleTemplateName)
The name of the approval rule template where you want to update the content of the rule.
approvalRuleTemplateName
- The name of the approval rule template where you want to update the content of the rule.public void setNewRuleContent(String newRuleContent)
The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.
newRuleContent
- The content that replaces the existing content of the rule. Content statements must be complete. You
cannot provide only the changes.public String getNewRuleContent()
The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.
public UpdateApprovalRuleTemplateContentRequest withNewRuleContent(String newRuleContent)
The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.
newRuleContent
- The content that replaces the existing content of the rule. Content statements must be complete. You
cannot provide only the changes.public void setExistingRuleContentSha256(String existingRuleContentSha256)
The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.
existingRuleContentSha256
- The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by
using GetPullRequest.public String getExistingRuleContentSha256()
The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.
public UpdateApprovalRuleTemplateContentRequest withExistingRuleContentSha256(String existingRuleContentSha256)
The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.
existingRuleContentSha256
- The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by
using GetPullRequest.public String toString()
toString
in class Object
Object.toString()
public UpdateApprovalRuleTemplateContentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()