@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRepositoryEncryptionKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateRepositoryEncryptionKeyRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRepositoryEncryptionKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKmsKeyId()
The ID of the encryption key.
|
String |
getRepositoryName()
The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the
repository.
|
int |
hashCode() |
void |
setKmsKeyId(String kmsKeyId)
The ID of the encryption key.
|
void |
setRepositoryName(String repositoryName)
The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the
repository.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRepositoryEncryptionKeyRequest |
withKmsKeyId(String kmsKeyId)
The ID of the encryption key.
|
UpdateRepositoryEncryptionKeyRequest |
withRepositoryName(String repositoryName)
The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the
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 UpdateRepositoryEncryptionKeyRequest()
public void setRepositoryName(String repositoryName)
The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.
repositoryName
- The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt
the repository.public String getRepositoryName()
The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.
public UpdateRepositoryEncryptionKeyRequest withRepositoryName(String repositoryName)
The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.
repositoryName
- The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt
the repository.public void setKmsKeyId(String kmsKeyId)
The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId in the Decrypt API description in the Key Management Service API Reference.
kmsKeyId
- The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS
APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId
in the Decrypt API description in the Key Management Service API Reference.public String getKmsKeyId()
The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId in the Decrypt API description in the Key Management Service API Reference.
public UpdateRepositoryEncryptionKeyRequest withKmsKeyId(String kmsKeyId)
The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId in the Decrypt API description in the Key Management Service API Reference.
kmsKeyId
- The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS
APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId
in the Decrypt API description in the Key Management Service API Reference.public String toString()
toString
in class Object
Object.toString()
public UpdateRepositoryEncryptionKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()