Class UpdateEncryptionKeyRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.inspector2.model.Inspector2Request
-
- software.amazon.awssdk.services.inspector2.model.UpdateEncryptionKeyRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateEncryptionKeyRequest.Builder,UpdateEncryptionKeyRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateEncryptionKeyRequest extends Inspector2Request implements ToCopyableBuilder<UpdateEncryptionKeyRequest.Builder,UpdateEncryptionKeyRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateEncryptionKeyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateEncryptionKeyRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()A KMS key ID for the encryption key.ResourceTyperesourceType()The resource type for the encryption key.StringresourceTypeAsString()The resource type for the encryption key.ScanTypescanType()The scan type for the encryption key.StringscanTypeAsString()The scan type for the encryption key.List<SdkField<?>>sdkFields()static Class<? extends UpdateEncryptionKeyRequest.Builder>serializableBuilderClass()UpdateEncryptionKeyRequest.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
-
kmsKeyId
public final String kmsKeyId()
A KMS key ID for the encryption key.
- Returns:
- A KMS key ID for the encryption key.
-
resourceType
public final ResourceType resourceType()
The resource type for the encryption key.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The resource type for the encryption key.
- See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The resource type for the encryption key.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The resource type for the encryption key.
- See Also:
ResourceType
-
scanType
public final ScanType scanType()
The scan type for the encryption key.
If the service returns an enum value that is not available in the current SDK version,
scanTypewill returnScanType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanTypeAsString().- Returns:
- The scan type for the encryption key.
- See Also:
ScanType
-
scanTypeAsString
public final String scanTypeAsString()
The scan type for the encryption key.
If the service returns an enum value that is not available in the current SDK version,
scanTypewill returnScanType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanTypeAsString().- Returns:
- The scan type for the encryption key.
- See Also:
ScanType
-
toBuilder
public UpdateEncryptionKeyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateEncryptionKeyRequest.Builder,UpdateEncryptionKeyRequest>- Specified by:
toBuilderin classInspector2Request
-
builder
public static UpdateEncryptionKeyRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateEncryptionKeyRequest.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
-
-