@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateKmsKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateKmsKeyRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateKmsKeyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyId()
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
|
String |
getLogGroupName()
The name of the log group.
|
int |
hashCode() |
void |
setKmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
|
void |
setLogGroupName(String logGroupName)
The name of the log group.
|
String |
toString()
Returns a string representation of this object.
|
AssociateKmsKeyRequest |
withKmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
|
AssociateKmsKeyRequest |
withLogGroupName(String logGroupName)
The name of the log group.
|
addHandlerContext, copyBaseTo, 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 setLogGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.public String getLogGroupName()
The name of the log group.
public AssociateKmsKeyRequest withLogGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.public void setKmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. This must be a symmetric CMK. For more information, see Amazon Resource Names - AWS Key Management Service (AWS KMS) and Using Symmetric and Asymmetric Keys.
kmsKeyId
- The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. This must be a symmetric CMK.
For more information, see Amazon
Resource Names - AWS Key Management Service (AWS KMS) and Using Symmetric and
Asymmetric Keys.public String getKmsKeyId()
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. This must be a symmetric CMK. For more information, see Amazon Resource Names - AWS Key Management Service (AWS KMS) and Using Symmetric and Asymmetric Keys.
public AssociateKmsKeyRequest withKmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. This must be a symmetric CMK. For more information, see Amazon Resource Names - AWS Key Management Service (AWS KMS) and Using Symmetric and Asymmetric Keys.
kmsKeyId
- The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. This must be a symmetric CMK.
For more information, see Amazon
Resource Names - AWS Key Management Service (AWS KMS) and Using Symmetric and
Asymmetric Keys.public String toString()
toString
in class Object
Object.toString()
public AssociateKmsKeyRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2020. All rights reserved.