@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRepositoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRepositoryRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRepositoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConnectionArn()
The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar connection.
|
String |
getEncryptionKey()
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
|
String |
getName()
The repository name, for example
myrepos/myrepo . |
String |
getProvider()
The repository provider.
|
int |
hashCode() |
void |
setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar connection.
|
void |
setEncryptionKey(String encryptionKey)
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
|
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.
|
CreateRepositoryRequest |
withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar connection.
|
CreateRepositoryRequest |
withEncryptionKey(String encryptionKey)
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
|
CreateRepositoryRequest |
withName(String name)
The repository name, for example
myrepos/myrepo . |
CreateRepositoryRequest |
withProvider(RepositoryProvider provider)
The repository provider.
|
CreateRepositoryRequest |
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 setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar connection. For more information, see Setting up for Proton in the Proton Administrator Guide.
connectionArn
- The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar connection. For more information, see
Setting up for Proton in the Proton
Administrator Guide.public String getConnectionArn()
The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar connection. For more information, see Setting up for Proton in the Proton Administrator Guide.
public CreateRepositoryRequest withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar connection. For more information, see Setting up for Proton in the Proton Administrator Guide.
connectionArn
- The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar connection. For more information, see
Setting up for Proton in the Proton
Administrator Guide.public void setEncryptionKey(String encryptionKey)
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
encryptionKey
- The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.public String getEncryptionKey()
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
public CreateRepositoryRequest withEncryptionKey(String encryptionKey)
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
encryptionKey
- The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.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 CreateRepositoryRequest 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 CreateRepositoryRequest withProvider(String provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public CreateRepositoryRequest withProvider(RepositoryProvider provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public String toString()
toString
in class Object
Object.toString()
public CreateRepositoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()