@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDatabaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| UpdateDatabaseRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateDatabaseRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getDatabaseName()
 The name of the database. | 
| String | getKmsKeyId()
 The identifier of the new KMS key ( KmsKeyId) to be used to encrypt the data stored in the database. | 
| int | hashCode() | 
| void | setDatabaseName(String databaseName)
 The name of the database. | 
| void | setKmsKeyId(String kmsKeyId)
 The identifier of the new KMS key ( KmsKeyId) to be used to encrypt the data stored in the database. | 
| String | toString()Returns a string representation of this object. | 
| UpdateDatabaseRequest | withDatabaseName(String databaseName)
 The name of the database. | 
| UpdateDatabaseRequest | withKmsKeyId(String kmsKeyId)
 The identifier of the new KMS key ( KmsKeyId) to be used to encrypt the data stored in the database. | 
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, withSdkRequestTimeoutpublic void setDatabaseName(String databaseName)
The name of the database.
databaseName - The name of the database.public String getDatabaseName()
The name of the database.
public UpdateDatabaseRequest withDatabaseName(String databaseName)
The name of the database.
databaseName - The name of the database.public void setKmsKeyId(String kmsKeyId)
 The identifier of the new KMS key (KmsKeyId) to be used to encrypt the data stored in the database.
 If the KmsKeyId currently registered with the database is the same as the KmsKeyId in
 the request, there will not be any update.
 
 You can specify the KmsKeyId using any of the following:
 
 Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
 
 Key ARN: arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
 
 Alias name: alias/ExampleAlias
 
 Alias ARN: arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias
 
kmsKeyId - The identifier of the new KMS key (KmsKeyId) to be used to encrypt the data stored in the
        database. If the KmsKeyId currently registered with the database is the same as the
        KmsKeyId in the request, there will not be any update. 
        
        You can specify the KmsKeyId using any of the following:
        
        Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
        
        Key ARN: arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
        
        Alias name: alias/ExampleAlias
        
        Alias ARN: arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias
        
public String getKmsKeyId()
 The identifier of the new KMS key (KmsKeyId) to be used to encrypt the data stored in the database.
 If the KmsKeyId currently registered with the database is the same as the KmsKeyId in
 the request, there will not be any update.
 
 You can specify the KmsKeyId using any of the following:
 
 Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
 
 Key ARN: arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
 
 Alias name: alias/ExampleAlias
 
 Alias ARN: arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias
 
KmsKeyId) to be used to encrypt the data stored in the
         database. If the KmsKeyId currently registered with the database is the same as the
         KmsKeyId in the request, there will not be any update. 
         
         You can specify the KmsKeyId using any of the following:
         
         Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
         
         Key ARN: arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
         
         Alias name: alias/ExampleAlias
         
         Alias ARN: arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias
         
public UpdateDatabaseRequest withKmsKeyId(String kmsKeyId)
 The identifier of the new KMS key (KmsKeyId) to be used to encrypt the data stored in the database.
 If the KmsKeyId currently registered with the database is the same as the KmsKeyId in
 the request, there will not be any update.
 
 You can specify the KmsKeyId using any of the following:
 
 Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
 
 Key ARN: arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
 
 Alias name: alias/ExampleAlias
 
 Alias ARN: arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias
 
kmsKeyId - The identifier of the new KMS key (KmsKeyId) to be used to encrypt the data stored in the
        database. If the KmsKeyId currently registered with the database is the same as the
        KmsKeyId in the request, there will not be any update. 
        
        You can specify the KmsKeyId using any of the following:
        
        Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
        
        Key ARN: arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
        
        Alias name: alias/ExampleAlias
        
        Alias ARN: arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias
        
public String toString()
toString in class ObjectObject.toString()public UpdateDatabaseRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()