@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePullRequestRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePullRequestRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePullRequestRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be
repeated with a changed parameter.
|
String |
getDescription()
A description of the pull request.
|
List<Target> |
getTargets()
The targets for the pull request, including the source of the code to be reviewed (the source branch) and the
destination where the creator of the pull request intends the code to be merged after the pull request is closed
(the destination branch).
|
String |
getTitle()
The title of the pull request.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be
repeated with a changed parameter.
|
void |
setDescription(String description)
A description of the pull request.
|
void |
setTargets(Collection<Target> targets)
The targets for the pull request, including the source of the code to be reviewed (the source branch) and the
destination where the creator of the pull request intends the code to be merged after the pull request is closed
(the destination branch).
|
void |
setTitle(String title)
The title of the pull request.
|
String |
toString()
Returns a string representation of this object.
|
CreatePullRequestRequest |
withClientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be
repeated with a changed parameter.
|
CreatePullRequestRequest |
withDescription(String description)
A description of the pull request.
|
CreatePullRequestRequest |
withTargets(Collection<Target> targets)
The targets for the pull request, including the source of the code to be reviewed (the source branch) and the
destination where the creator of the pull request intends the code to be merged after the pull request is closed
(the destination branch).
|
CreatePullRequestRequest |
withTargets(Target... targets)
The targets for the pull request, including the source of the code to be reviewed (the source branch) and the
destination where the creator of the pull request intends the code to be merged after the pull request is closed
(the destination branch).
|
CreatePullRequestRequest |
withTitle(String title)
The title of the pull request.
|
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 setTitle(String title)
The title of the pull request. This title is used to identify the pull request to other users in the repository.
title
- The title of the pull request. This title is used to identify the pull request to other users in the
repository.public String getTitle()
The title of the pull request. This title is used to identify the pull request to other users in the repository.
public CreatePullRequestRequest withTitle(String title)
The title of the pull request. This title is used to identify the pull request to other users in the repository.
title
- The title of the pull request. This title is used to identify the pull request to other users in the
repository.public void setDescription(String description)
A description of the pull request.
description
- A description of the pull request.public String getDescription()
A description of the pull request.
public CreatePullRequestRequest withDescription(String description)
A description of the pull request.
description
- A description of the pull request.public List<Target> getTargets()
The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).
public void setTargets(Collection<Target> targets)
The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).
targets
- The targets for the pull request, including the source of the code to be reviewed (the source branch) and
the destination where the creator of the pull request intends the code to be merged after the pull request
is closed (the destination branch).public CreatePullRequestRequest withTargets(Target... targets)
The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- The targets for the pull request, including the source of the code to be reviewed (the source branch) and
the destination where the creator of the pull request intends the code to be merged after the pull request
is closed (the destination branch).public CreatePullRequestRequest withTargets(Collection<Target> targets)
The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).
targets
- The targets for the pull request, including the source of the code to be reviewed (the source branch) and
the destination where the creator of the pull request intends the code to be merged after the pull request
is closed (the destination branch).public void setClientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.
clientRequestToken
- A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot
be repeated with a changed parameter. If a request is received with the same parameters and a token is
included, the request returns information about the initial request that used that token. The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.
public String getClientRequestToken()
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.
The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.
public CreatePullRequestRequest withClientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.
clientRequestToken
- A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot
be repeated with a changed parameter. If a request is received with the same parameters and a token is
included, the request returns information about the initial request that used that token. The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.
public String toString()
toString
in class Object
Object.toString()
public CreatePullRequestRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()