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