Interface CreateKeySigningKeyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateKeySigningKeyRequest.Builder,CreateKeySigningKeyRequest>,Route53Request.Builder,SdkBuilder<CreateKeySigningKeyRequest.Builder,CreateKeySigningKeyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateKeySigningKeyRequest
public static interface CreateKeySigningKeyRequest.Builder extends Route53Request.Builder, SdkPojo, CopyableBuilder<CreateKeySigningKeyRequest.Builder,CreateKeySigningKeyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateKeySigningKeyRequest.BuildercallerReference(String callerReference)A unique string that identifies the request.CreateKeySigningKeyRequest.BuilderhostedZoneId(String hostedZoneId)The unique string (ID) used to identify a hosted zone.CreateKeySigningKeyRequest.BuilderkeyManagementServiceArn(String keyManagementServiceArn)The Amazon resource name (ARN) for a customer managed key in Key Management Service (KMS).CreateKeySigningKeyRequest.Buildername(String name)A string used to identify a key-signing key (KSK).CreateKeySigningKeyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateKeySigningKeyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateKeySigningKeyRequest.Builderstatus(String status)A string specifying the initial status of the key-signing key (KSK).-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
callerReference
CreateKeySigningKeyRequest.Builder callerReference(String callerReference)
A unique string that identifies the request.
- Parameters:
callerReference- A unique string that identifies the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostedZoneId
CreateKeySigningKeyRequest.Builder hostedZoneId(String hostedZoneId)
The unique string (ID) used to identify a hosted zone.
- Parameters:
hostedZoneId- The unique string (ID) used to identify a hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyManagementServiceArn
CreateKeySigningKeyRequest.Builder keyManagementServiceArn(String keyManagementServiceArn)
The Amazon resource name (ARN) for a customer managed key in Key Management Service (KMS). The
KeyManagementServiceArnmust be unique for each key-signing key (KSK) in a single hosted zone. To see an example ofKeyManagementServiceArnthat grants the correct permissions for DNSSEC, scroll down to Example.You must configure the customer managed customer managed key as follows:
- Status
-
Enabled
- Key spec
-
ECC_NIST_P256
- Key usage
-
Sign and verify
- Key policy
-
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": "dnssec-route53.amazonaws.com"
-
For more information about working with a customer managed key in KMS, see Key Management Service concepts.
- Parameters:
keyManagementServiceArn- The Amazon resource name (ARN) for a customer managed key in Key Management Service (KMS). TheKeyManagementServiceArnmust be unique for each key-signing key (KSK) in a single hosted zone. To see an example ofKeyManagementServiceArnthat grants the correct permissions for DNSSEC, scroll down to Example.You must configure the customer managed customer managed key as follows:
- Status
-
Enabled
- Key spec
-
ECC_NIST_P256
- Key usage
-
Sign and verify
- Key policy
-
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": "dnssec-route53.amazonaws.com"
-
For more information about working with a customer managed key in KMS, see Key Management Service concepts.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateKeySigningKeyRequest.Builder name(String name)
A string used to identify a key-signing key (KSK).
Namecan include numbers, letters, and underscores (_).Namemust be unique for each key-signing key in the same hosted zone.- Parameters:
name- A string used to identify a key-signing key (KSK).Namecan include numbers, letters, and underscores (_).Namemust be unique for each key-signing key in the same hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
CreateKeySigningKeyRequest.Builder status(String status)
A string specifying the initial status of the key-signing key (KSK). You can set the value to
ACTIVEorINACTIVE.- Parameters:
status- A string specifying the initial status of the key-signing key (KSK). You can set the value toACTIVEorINACTIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateKeySigningKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateKeySigningKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-