@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 AWS CodeStar connection that connects Proton to your repository provider
account.
|
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.
|
List<Tag> |
getTags()
An optional list of metadata items that you can associate with the Proton repository.
|
int |
hashCode() |
void |
setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider
account.
|
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.
|
void |
setTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton repository.
|
String |
toString()
Returns a string representation of this object.
|
CreateRepositoryRequest |
withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider
account.
|
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.
|
CreateRepositoryRequest |
withTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton repository.
|
CreateRepositoryRequest |
withTags(Tag... tags)
An optional list of metadata items that you can associate with the Proton repository.
|
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 AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User Guide.
connectionArn
- The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository
provider account. For more information, see Setting up for
Proton in the Proton User Guide.public String getConnectionArn()
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User Guide.
public CreateRepositoryRequest withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User Guide.
connectionArn
- The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository
provider account. For more information, see Setting up for
Proton in the Proton User 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 List<Tag> getTags()
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
For more information, see Proton resources and tagging in the Proton User Guide.
public void setTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags
- An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value
pair.
For more information, see Proton resources and tagging in the Proton User Guide.
public CreateRepositoryRequest withTags(Tag... tags)
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value
pair.
For more information, see Proton resources and tagging in the Proton User Guide.
public CreateRepositoryRequest withTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags
- An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value
pair.
For more information, see Proton resources and tagging in the Proton User Guide.
public String toString()
toString
in class Object
Object.toString()
public CreateRepositoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()