@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRepositoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetRepositoryRequest() |
Modifier and Type | Method and Description |
---|---|
GetRepositoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
The repository name, for example
myrepos/myrepo . |
String |
getProvider()
The repository provider.
|
int |
hashCode() |
void |
setName(String name)
The repository name, for example
myrepos/myrepo . |
void |
setProvider(String provider)
The repository provider.
|
String |
toString()
Returns a string representation of this object.
|
GetRepositoryRequest |
withName(String name)
The repository name, for example
myrepos/myrepo . |
GetRepositoryRequest |
withProvider(RepositoryProvider provider)
The repository provider.
|
GetRepositoryRequest |
withProvider(String provider)
The repository provider.
|
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 setName(String name)
The repository name, for example myrepos/myrepo
.
name
- The repository name, for example myrepos/myrepo
.public String getName()
The repository name, for example myrepos/myrepo
.
myrepos/myrepo
.public GetRepositoryRequest withName(String name)
The repository name, for example myrepos/myrepo
.
name
- The repository name, for example myrepos/myrepo
.public void setProvider(String provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public String getProvider()
The repository provider.
RepositoryProvider
public GetRepositoryRequest withProvider(String provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public GetRepositoryRequest withProvider(RepositoryProvider provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public String toString()
toString
in class Object
Object.toString()
public GetRepositoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()