@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateRepositoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateRepositoryRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateRepositoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations
if there are failures and retries.
|
Repository |
getRepository()
The repository to associate.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations
if there are failures and retries.
|
void |
setRepository(Repository repository)
The repository to associate.
|
String |
toString()
Returns a string representation of this object.
|
AssociateRepositoryRequest |
withClientRequestToken(String clientRequestToken)
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations
if there are failures and retries.
|
AssociateRepositoryRequest |
withRepository(Repository repository)
The repository to associate.
|
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 setRepository(Repository repository)
The repository to associate.
repository
- The repository to associate.public Repository getRepository()
The repository to associate.
public AssociateRepositoryRequest withRepository(Repository repository)
The repository to associate.
repository
- The repository to associate.public void setClientRequestToken(String clientRequestToken)
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.
clientRequestToken
- Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository
associations if there are failures and retries.public String getClientRequestToken()
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.
public AssociateRepositoryRequest withClientRequestToken(String clientRequestToken)
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.
clientRequestToken
- Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository
associations if there are failures and retries.public String toString()
toString
in class Object
Object.toString()
public AssociateRepositoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()