@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopStreamEncryptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StopStreamEncryptionRequest() |
Modifier and Type | Method and Description |
---|---|
StopStreamEncryptionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionType()
The encryption type.
|
String |
getKeyId()
The GUID for the customer-managed Amazon Web Services KMS key to use for encryption.
|
String |
getStreamARN()
The ARN of the stream.
|
String |
getStreamName()
The name of the stream on which to stop encrypting records.
|
int |
hashCode() |
void |
setEncryptionType(EncryptionType encryptionType)
The encryption type.
|
void |
setEncryptionType(String encryptionType)
The encryption type.
|
void |
setKeyId(String keyId)
The GUID for the customer-managed Amazon Web Services KMS key to use for encryption.
|
void |
setStreamARN(String streamARN)
The ARN of the stream.
|
void |
setStreamName(String streamName)
The name of the stream on which to stop encrypting records.
|
String |
toString()
Returns a string representation of this object.
|
StopStreamEncryptionRequest |
withEncryptionType(EncryptionType encryptionType)
The encryption type.
|
StopStreamEncryptionRequest |
withEncryptionType(String encryptionType)
The encryption type.
|
StopStreamEncryptionRequest |
withKeyId(String keyId)
The GUID for the customer-managed Amazon Web Services KMS key to use for encryption.
|
StopStreamEncryptionRequest |
withStreamARN(String streamARN)
The ARN of the stream.
|
StopStreamEncryptionRequest |
withStreamName(String streamName)
The name of the stream on which to stop encrypting records.
|
addHandlerContext, copyBaseTo, 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 void setStreamName(String streamName)
The name of the stream on which to stop encrypting records.
streamName
- The name of the stream on which to stop encrypting records.public String getStreamName()
The name of the stream on which to stop encrypting records.
public StopStreamEncryptionRequest withStreamName(String streamName)
The name of the stream on which to stop encrypting records.
streamName
- The name of the stream on which to stop encrypting records.public void setEncryptionType(String encryptionType)
The encryption type. The only valid value is KMS
.
encryptionType
- The encryption type. The only valid value is KMS
.EncryptionType
public String getEncryptionType()
The encryption type. The only valid value is KMS
.
KMS
.EncryptionType
public StopStreamEncryptionRequest withEncryptionType(String encryptionType)
The encryption type. The only valid value is KMS
.
encryptionType
- The encryption type. The only valid value is KMS
.EncryptionType
public void setEncryptionType(EncryptionType encryptionType)
The encryption type. The only valid value is KMS
.
encryptionType
- The encryption type. The only valid value is KMS
.EncryptionType
public StopStreamEncryptionRequest withEncryptionType(EncryptionType encryptionType)
The encryption type. The only valid value is KMS
.
encryptionType
- The encryption type. The only valid value is KMS
.EncryptionType
public void setKeyId(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
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
public String getKeyId()
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
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
public StopStreamEncryptionRequest withKeyId(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
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
public void setStreamARN(String streamARN)
The ARN of the stream.
streamARN
- The ARN of the stream.public String getStreamARN()
The ARN of the stream.
public StopStreamEncryptionRequest withStreamARN(String streamARN)
The ARN of the stream.
streamARN
- The ARN of the stream.public String toString()
toString
in class Object
Object.toString()
public StopStreamEncryptionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2024. All rights reserved.