@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 Amazon Web Services KMS key to use for encryption. | 
| String | getStreamARN()
 The ARN of the stream. | 
| 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 Amazon Web Services KMS key to use for encryption. | 
| void | setStreamARN(String streamARN)
 The ARN of the stream. | 
| void | setStreamName(String streamName)
 The name of the stream on which to stop encrypting records. | 
| String | toString()Returns a string representation of this object. | 
| StopStreamEncryptionRequest | withEncryptionType(EncryptionType encryptionType)
 The encryption type. | 
| StopStreamEncryptionRequest | withEncryptionType(String encryptionType)
 The encryption type. | 
| StopStreamEncryptionRequest | withKeyId(String keyId)
 The GUID for the customer-managed Amazon Web Services KMS key to use for encryption. | 
| StopStreamEncryptionRequest | withStreamARN(String streamARN)
 The ARN of the stream. | 
| 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, 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. The only valid value is KMS.
 
encryptionType - The encryption type. The only valid value is KMS.EncryptionTypepublic String getEncryptionType()
 The encryption type. The only valid value is KMS.
 
KMS.EncryptionTypepublic StopStreamEncryptionRequest withEncryptionType(String encryptionType)
 The encryption type. The only valid value is KMS.
 
encryptionType - The encryption type. The only valid value is KMS.EncryptionTypepublic void setEncryptionType(EncryptionType encryptionType)
 The encryption type. The only valid value is KMS.
 
encryptionType - The encryption type. The only valid value is KMS.EncryptionTypepublic StopStreamEncryptionRequest withEncryptionType(EncryptionType encryptionType)
 The encryption type. The only valid value is KMS.
 
encryptionType - The encryption type. The only valid value is KMS.EncryptionTypepublic 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 StopStreamEncryptionRequest 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 void setStreamARN(String streamARN)
The ARN of the stream.
streamARN - The ARN of the stream.public String getStreamARN()
The ARN of the stream.
public StopStreamEncryptionRequest withStreamARN(String streamARN)
The ARN of the stream.
streamARN - The ARN of the stream.public String toString()
toString in class ObjectObject.toString()public StopStreamEncryptionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()