@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateKeySigningKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateKeySigningKeyRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateKeySigningKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCallerReference()
A unique string that identifies the request.
|
String |
getHostedZoneId()
The unique string (ID) used to identify a hosted zone.
|
String |
getKeyManagementServiceArn()
The Amazon resource name (ARN) for a customer managed key (CMK) in AWS Key Management Service (KMS).
|
String |
getName()
An alphanumeric string used to identify a key signing key (KSK).
|
String |
getStatus()
A string specifying the initial status of the key signing key (KSK).
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
A unique string that identifies the request.
|
void |
setHostedZoneId(String hostedZoneId)
The unique string (ID) used to identify a hosted zone.
|
void |
setKeyManagementServiceArn(String keyManagementServiceArn)
The Amazon resource name (ARN) for a customer managed key (CMK) in AWS Key Management Service (KMS).
|
void |
setName(String name)
An alphanumeric string used to identify a key signing key (KSK).
|
void |
setStatus(String status)
A string specifying the initial status of the key signing key (KSK).
|
String |
toString()
Returns a string representation of this object.
|
CreateKeySigningKeyRequest |
withCallerReference(String callerReference)
A unique string that identifies the request.
|
CreateKeySigningKeyRequest |
withHostedZoneId(String hostedZoneId)
The unique string (ID) used to identify a hosted zone.
|
CreateKeySigningKeyRequest |
withKeyManagementServiceArn(String keyManagementServiceArn)
The Amazon resource name (ARN) for a customer managed key (CMK) in AWS Key Management Service (KMS).
|
CreateKeySigningKeyRequest |
withName(String name)
An alphanumeric string used to identify a key signing key (KSK).
|
CreateKeySigningKeyRequest |
withStatus(String status)
A string specifying the initial status of the key signing key (KSK).
|
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 setCallerReference(String callerReference)
A unique string that identifies the request.
callerReference - A unique string that identifies the request.public String getCallerReference()
A unique string that identifies the request.
public CreateKeySigningKeyRequest withCallerReference(String callerReference)
A unique string that identifies the request.
callerReference - A unique string that identifies the request.public void setHostedZoneId(String hostedZoneId)
The unique string (ID) used to identify a hosted zone.
hostedZoneId - The unique string (ID) used to identify a hosted zone.public String getHostedZoneId()
The unique string (ID) used to identify a hosted zone.
public CreateKeySigningKeyRequest withHostedZoneId(String hostedZoneId)
The unique string (ID) used to identify a hosted zone.
hostedZoneId - The unique string (ID) used to identify a hosted zone.public void setKeyManagementServiceArn(String keyManagementServiceArn)
The Amazon resource name (ARN) for a customer managed key (CMK) in AWS Key Management Service (KMS). The
KeyManagementServiceArn must be unique for each key signing key (KSK) in a single hosted zone. To
see an example of KeyManagementServiceArn that grants the correct permissions for DNSSEC, scroll
down to Example.
You must configure the CMK as follows:
Enabled
ECC_NIST_P256
Sign and verify
The key policy must give permission for the following actions:
DescribeKey
GetPublicKey
Sign
The key policy must also include the Amazon Route 53 service in the principal for your account. Specify the following:
"Service": "api-service.dnssec.route53.aws.internal"
For more information about working with CMK in KMS, see AWS Key Management Service concepts.
keyManagementServiceArn - The Amazon resource name (ARN) for a customer managed key (CMK) in AWS Key Management Service (KMS). The
KeyManagementServiceArn must be unique for each key signing key (KSK) in a single hosted
zone. To see an example of KeyManagementServiceArn that grants the correct permissions for
DNSSEC, scroll down to Example.
You must configure the CMK as follows:
Enabled
ECC_NIST_P256
Sign and verify
The key policy must give permission for the following actions:
DescribeKey
GetPublicKey
Sign
The key policy must also include the Amazon Route 53 service in the principal for your account. Specify the following:
"Service": "api-service.dnssec.route53.aws.internal"
For more information about working with CMK in KMS, see AWS Key Management Service concepts.
public String getKeyManagementServiceArn()
The Amazon resource name (ARN) for a customer managed key (CMK) in AWS Key Management Service (KMS). The
KeyManagementServiceArn must be unique for each key signing key (KSK) in a single hosted zone. To
see an example of KeyManagementServiceArn that grants the correct permissions for DNSSEC, scroll
down to Example.
You must configure the CMK as follows:
Enabled
ECC_NIST_P256
Sign and verify
The key policy must give permission for the following actions:
DescribeKey
GetPublicKey
Sign
The key policy must also include the Amazon Route 53 service in the principal for your account. Specify the following:
"Service": "api-service.dnssec.route53.aws.internal"
For more information about working with CMK in KMS, see AWS Key Management Service concepts.
KeyManagementServiceArn must be unique for each key signing key (KSK) in a single hosted
zone. To see an example of KeyManagementServiceArn that grants the correct permissions for
DNSSEC, scroll down to Example.
You must configure the CMK as follows:
Enabled
ECC_NIST_P256
Sign and verify
The key policy must give permission for the following actions:
DescribeKey
GetPublicKey
Sign
The key policy must also include the Amazon Route 53 service in the principal for your account. Specify the following:
"Service": "api-service.dnssec.route53.aws.internal"
For more information about working with CMK in KMS, see AWS Key Management Service concepts.
public CreateKeySigningKeyRequest withKeyManagementServiceArn(String keyManagementServiceArn)
The Amazon resource name (ARN) for a customer managed key (CMK) in AWS Key Management Service (KMS). The
KeyManagementServiceArn must be unique for each key signing key (KSK) in a single hosted zone. To
see an example of KeyManagementServiceArn that grants the correct permissions for DNSSEC, scroll
down to Example.
You must configure the CMK as follows:
Enabled
ECC_NIST_P256
Sign and verify
The key policy must give permission for the following actions:
DescribeKey
GetPublicKey
Sign
The key policy must also include the Amazon Route 53 service in the principal for your account. Specify the following:
"Service": "api-service.dnssec.route53.aws.internal"
For more information about working with CMK in KMS, see AWS Key Management Service concepts.
keyManagementServiceArn - The Amazon resource name (ARN) for a customer managed key (CMK) in AWS Key Management Service (KMS). The
KeyManagementServiceArn must be unique for each key signing key (KSK) in a single hosted
zone. To see an example of KeyManagementServiceArn that grants the correct permissions for
DNSSEC, scroll down to Example.
You must configure the CMK as follows:
Enabled
ECC_NIST_P256
Sign and verify
The key policy must give permission for the following actions:
DescribeKey
GetPublicKey
Sign
The key policy must also include the Amazon Route 53 service in the principal for your account. Specify the following:
"Service": "api-service.dnssec.route53.aws.internal"
For more information about working with CMK in KMS, see AWS Key Management Service concepts.
public void setName(String name)
An alphanumeric string used to identify a key signing key (KSK). Name must be unique for each key
signing key in the same hosted zone.
name - An alphanumeric string used to identify a key signing key (KSK). Name must be unique for each
key signing key in the same hosted zone.public String getName()
An alphanumeric string used to identify a key signing key (KSK). Name must be unique for each key
signing key in the same hosted zone.
Name must be unique for
each key signing key in the same hosted zone.public CreateKeySigningKeyRequest withName(String name)
An alphanumeric string used to identify a key signing key (KSK). Name must be unique for each key
signing key in the same hosted zone.
name - An alphanumeric string used to identify a key signing key (KSK). Name must be unique for each
key signing key in the same hosted zone.public void setStatus(String status)
A string specifying the initial status of the key signing key (KSK). You can set the value to ACTIVE
or INACTIVE.
status - A string specifying the initial status of the key signing key (KSK). You can set the value to
ACTIVE or INACTIVE.public String getStatus()
A string specifying the initial status of the key signing key (KSK). You can set the value to ACTIVE
or INACTIVE.
ACTIVE or INACTIVE.public CreateKeySigningKeyRequest withStatus(String status)
A string specifying the initial status of the key signing key (KSK). You can set the value to ACTIVE
or INACTIVE.
status - A string specifying the initial status of the key signing key (KSK). You can set the value to
ACTIVE or INACTIVE.public String toString()
toString in class ObjectObject.toString()public CreateKeySigningKeyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()