@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEncryptionType()
The encryption type.
|
String |
getKeyId()
The GUID for the customer-managed key that was used for encryption.
|
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 key that was used for encryption.
|
void |
setStreamName(String streamName)
The name of the stream on which to stop encrypting records.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StopStreamEncryptionRequest |
withEncryptionType(EncryptionType encryptionType)
The encryption type.
|
StopStreamEncryptionRequest |
withEncryptionType(String encryptionType)
The encryption type.
|
StopStreamEncryptionRequest |
withKeyId(String keyId)
The GUID for the customer-managed key that was used for encryption.
|
StopStreamEncryptionRequest |
withStreamName(String streamName)
The name of the stream on which to stop 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 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. 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. 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. 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 StopStreamEncryptionRequest withEncryptionType(String encryptionType)
The encryption type. 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. 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. 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. 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 StopStreamEncryptionRequest withEncryptionType(EncryptionType encryptionType)
The encryption type. 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. 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 key that was used for encryption.
keyId - The GUID for the customer-managed key that was used for encryption.public String getKeyId()
The GUID for the customer-managed key that was used for encryption.
public StopStreamEncryptionRequest withKeyId(String keyId)
The GUID for the customer-managed key that was used for encryption.
keyId - The GUID for the customer-managed key that was used for encryption.public String toString()
toString in class ObjectObject.toString()public StopStreamEncryptionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.