@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCommentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateCommentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCommentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCommentId()
The system-generated ID of the comment you want to update.
|
String |
getContent()
The updated content to replace the existing content of the comment.
|
int |
hashCode() |
void |
setCommentId(String commentId)
The system-generated ID of the comment you want to update.
|
void |
setContent(String content)
The updated content to replace the existing content of the comment.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCommentRequest |
withCommentId(String commentId)
The system-generated ID of the comment you want to update.
|
UpdateCommentRequest |
withContent(String content)
The updated content to replace the existing content of the comment.
|
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 void setCommentId(String commentId)
The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
commentId
- The system-generated ID of the comment you want to update. To get this ID, use
GetCommentsForComparedCommit or GetCommentsForPullRequest.public String getCommentId()
The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
public UpdateCommentRequest withCommentId(String commentId)
The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
commentId
- The system-generated ID of the comment you want to update. To get this ID, use
GetCommentsForComparedCommit or GetCommentsForPullRequest.public void setContent(String content)
The updated content to replace the existing content of the comment.
content
- The updated content to replace the existing content of the comment.public String getContent()
The updated content to replace the existing content of the comment.
public UpdateCommentRequest withContent(String content)
The updated content to replace the existing content of the comment.
content
- The updated content to replace the existing content of the comment.public String toString()
toString
in class Object
Object.toString()
public UpdateCommentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.