@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEncryptionType()
The encryption type to use.
|
String |
getKeyId()
The GUID for the customer-managed 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 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; useful for testing and debugging.
|
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 KMS key to use for encryption.
|
StartStreamEncryptionRequest |
withStreamName(String streamName)
The name of the stream for which to start encrypting records.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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. This parameter can be one of the following values:
NONE: Not valid for this operation. An InvalidOperationException will be thrown.
KMS: Use server-side encryption on the records in the stream using a customer-managed KMS key.
encryptionType - The encryption type to use. This parameter can be one of the following values:
NONE: Not valid for this operation. An InvalidOperationException will be thrown.
KMS: Use server-side encryption on the records in the stream using a customer-managed KMS
key.
EncryptionTypepublic String getEncryptionType()
The encryption type to use. This parameter can be one of the following values:
NONE: Not valid for this operation. An InvalidOperationException will be thrown.
KMS: Use server-side encryption on the records in the stream using a customer-managed KMS key.
NONE: Not valid for this operation. An InvalidOperationException will be
thrown.
KMS: Use server-side encryption on the records in the stream using a customer-managed KMS
key.
EncryptionTypepublic StartStreamEncryptionRequest withEncryptionType(String encryptionType)
The encryption type to use. This parameter can be one of the following values:
NONE: Not valid for this operation. An InvalidOperationException will be thrown.
KMS: Use server-side encryption on the records in the stream using a customer-managed KMS key.
encryptionType - The encryption type to use. This parameter can be one of the following values:
NONE: Not valid for this operation. An InvalidOperationException will be thrown.
KMS: Use server-side encryption on the records in the stream using a customer-managed KMS
key.
EncryptionTypepublic void setEncryptionType(EncryptionType encryptionType)
The encryption type to use. This parameter can be one of the following values:
NONE: Not valid for this operation. An InvalidOperationException will be thrown.
KMS: Use server-side encryption on the records in the stream using a customer-managed KMS key.
encryptionType - The encryption type to use. This parameter can be one of the following values:
NONE: Not valid for this operation. An InvalidOperationException will be thrown.
KMS: Use server-side encryption on the records in the stream using a customer-managed KMS
key.
EncryptionTypepublic StartStreamEncryptionRequest withEncryptionType(EncryptionType encryptionType)
The encryption type to use. This parameter can be one of the following values:
NONE: Not valid for this operation. An InvalidOperationException will be thrown.
KMS: Use server-side encryption on the records in the stream using a customer-managed KMS key.
encryptionType - The encryption type to use. This parameter can be one of the following values:
NONE: Not valid for this operation. An InvalidOperationException will be thrown.
KMS: Use server-side encryption on the records in the stream using a customer-managed KMS
key.
EncryptionTypepublic void setKeyId(String keyId)
The GUID for the customer-managed KMS key to use for encryption. You can also use a Kinesis-owned master key by
specifying the alias aws/kinesis.
keyId - The GUID for the customer-managed KMS key to use for encryption. You can also use a Kinesis-owned master
key by specifying the alias aws/kinesis.public String getKeyId()
The GUID for the customer-managed KMS key to use for encryption. You can also use a Kinesis-owned master key by
specifying the alias aws/kinesis.
aws/kinesis.public StartStreamEncryptionRequest withKeyId(String keyId)
The GUID for the customer-managed KMS key to use for encryption. You can also use a Kinesis-owned master key by
specifying the alias aws/kinesis.
keyId - The GUID for the customer-managed KMS key to use for encryption. You can also use a Kinesis-owned master
key by specifying the alias aws/kinesis.public String toString()
toString in class ObjectObject.toString()public StartStreamEncryptionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.