Class StopStreamEncryptionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.kinesis.model.KinesisRequest
-
- software.amazon.awssdk.services.kinesis.model.StopStreamEncryptionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StopStreamEncryptionRequest.Builder,StopStreamEncryptionRequest>
@Generated("software.amazon.awssdk:codegen") public final class StopStreamEncryptionRequest extends KinesisRequest implements ToCopyableBuilder<StopStreamEncryptionRequest.Builder,StopStreamEncryptionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStopStreamEncryptionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StopStreamEncryptionRequest.Builderbuilder()EncryptionTypeencryptionType()The encryption type.StringencryptionTypeAsString()The encryption type.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeyId()The GUID for the customer-managed Amazon Web Services KMS key to use for encryption.List<SdkField<?>>sdkFields()static Class<? extends StopStreamEncryptionRequest.Builder>serializableBuilderClass()StringstreamARN()The ARN of the stream.StringstreamName()The name of the stream on which to stop encrypting records.StopStreamEncryptionRequest.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
-
streamName
public final String streamName()
The name of the stream on which to stop encrypting records.
- Returns:
- The name of the stream on which to stop encrypting records.
-
encryptionType
public final EncryptionType encryptionType()
The encryption type. The only valid value is
KMS.If the service returns an enum value that is not available in the current SDK version,
encryptionTypewill returnEncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionTypeAsString().- Returns:
- The encryption type. The only valid value is
KMS. - See Also:
EncryptionType
-
encryptionTypeAsString
public final String encryptionTypeAsString()
The encryption type. The only valid value is
KMS.If the service returns an enum value that is not available in the current SDK version,
encryptionTypewill returnEncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionTypeAsString().- Returns:
- The encryption type. The only valid value is
KMS. - See Also:
EncryptionType
-
keyId
public final String keyId()
The GUID for the customer-managed Amazon Web Services KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias
aws/kinesis.-
Key ARN example:
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 -
Alias ARN example:
arn:aws:kms:us-east-1:123456789012:alias/MyAliasName -
Globally unique key ID example:
12345678-1234-1234-1234-123456789012 -
Alias name example:
alias/MyAliasName -
Master key owned by Kinesis Data Streams:
alias/aws/kinesis
- Returns:
- The GUID for the customer-managed Amazon Web Services KMS key to use for encryption. This value can be a
globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or
an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by
specifying the alias
aws/kinesis.-
Key ARN example:
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 -
Alias ARN example:
arn:aws:kms:us-east-1:123456789012:alias/MyAliasName -
Globally unique key ID example:
12345678-1234-1234-1234-123456789012 -
Alias name example:
alias/MyAliasName -
Master key owned by Kinesis Data Streams:
alias/aws/kinesis
-
-
-
streamARN
public final String streamARN()
The ARN of the stream.
- Returns:
- The ARN of the stream.
-
toBuilder
public StopStreamEncryptionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StopStreamEncryptionRequest.Builder,StopStreamEncryptionRequest>- Specified by:
toBuilderin classKinesisRequest
-
builder
public static StopStreamEncryptionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StopStreamEncryptionRequest.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
-
-