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