Class UpdateDatabaseRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.timestreamwrite.model.TimestreamWriteRequest
-
- software.amazon.awssdk.services.timestreamwrite.model.UpdateDatabaseRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateDatabaseRequest.Builder,UpdateDatabaseRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateDatabaseRequest extends TimestreamWriteRequest implements ToCopyableBuilder<UpdateDatabaseRequest.Builder,UpdateDatabaseRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateDatabaseRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateDatabaseRequest.Builderbuilder()StringdatabaseName()The name of the database.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()The identifier of the new KMS key (KmsKeyId) to be used to encrypt the data stored in the database.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateDatabaseRequest.Builder>serializableBuilderClass()UpdateDatabaseRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
databaseName
public final String databaseName()
The name of the database.
- Returns:
- The name of the database.
-
kmsKeyId
public final String kmsKeyId()
The identifier of the new KMS key (
KmsKeyId) to be used to encrypt the data stored in the database. If theKmsKeyIdcurrently registered with the database is the same as theKmsKeyIdin the request, there will not be any update.You can specify the
KmsKeyIdusing 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
- Returns:
- The identifier of the new KMS key (
KmsKeyId) to be used to encrypt the data stored in the database. If theKmsKeyIdcurrently registered with the database is the same as theKmsKeyIdin the request, there will not be any update.You can specify the
KmsKeyIdusing 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
-
-
-
toBuilder
public UpdateDatabaseRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateDatabaseRequest.Builder,UpdateDatabaseRequest>- Specified by:
toBuilderin classTimestreamWriteRequest
-
builder
public static UpdateDatabaseRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateDatabaseRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-