@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, 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. 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.
EncryptionType
public 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.
EncryptionType
public 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.
EncryptionType
public 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.
EncryptionType
public 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.
EncryptionType
public 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 Object
Object.toString()
public StartStreamEncryptionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.