Interface ImportCertificateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ImportCertificateRequest.Builder,
,ImportCertificateRequest> SdkBuilder<ImportCertificateRequest.Builder,
,ImportCertificateRequest> SdkPojo
,SdkRequest.Builder
,TransferRequest.Builder
- Enclosing class:
ImportCertificateRequest
-
Method Summary
Modifier and TypeMethodDescriptionactiveDate
(Instant activeDate) An optional date that specifies when the certificate becomes active.certificate
(String certificate) certificateChain
(String certificateChain) An optional list of certificates that make up the chain for the certificate that's being imported.description
(String description) A short description that helps identify the certificate.inactiveDate
(Instant inactiveDate) An optional date that specifies when the certificate becomes inactive.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.privateKey
(String privateKey) tags
(Collection<Tag> tags) Key-value pairs that can be used to group and search for certificates.tags
(Consumer<Tag.Builder>... tags) Key-value pairs that can be used to group and search for certificates.Key-value pairs that can be used to group and search for certificates.Specifies whether this certificate is used for signing or encryption.usage
(CertificateUsageType usage) Specifies whether this certificate is used for signing or encryption.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.transfer.model.TransferRequest.Builder
build
-
Method Details
-
usage
Specifies whether this certificate is used for signing or encryption.
- Parameters:
usage
- Specifies whether this certificate is used for signing or encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usage
Specifies whether this certificate is used for signing or encryption.
- Parameters:
usage
- Specifies whether this certificate is used for signing or encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificate
-
For the CLI, provide a file path for a certificate in URI format. For example,
--certificate file://encryption-cert.pem
. Alternatively, you can provide the raw content. -
For the SDK, specify the raw content of a certificate file. For example,
--certificate "`cat encryption-cert.pem`"
.
- Parameters:
certificate
-For the CLI, provide a file path for a certificate in URI format. For example,
--certificate file://encryption-cert.pem
. Alternatively, you can provide the raw content.For the SDK, specify the raw content of a certificate file. For example,
--certificate "`cat encryption-cert.pem`"
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
certificateChain
An optional list of certificates that make up the chain for the certificate that's being imported.
- Parameters:
certificateChain
- An optional list of certificates that make up the chain for the certificate that's being imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateKey
-
For the CLI, provide a file path for a private key in URI format.For example,
--private-key file://encryption-key.pem
. Alternatively, you can provide the raw content of the private key file. -
For the SDK, specify the raw content of a private key file. For example,
--private-key "`cat encryption-key.pem`"
- Parameters:
privateKey
-For the CLI, provide a file path for a private key in URI format.For example,
--private-key file://encryption-key.pem
. Alternatively, you can provide the raw content of the private key file.For the SDK, specify the raw content of a private key file. For example,
--private-key "`cat encryption-key.pem`"
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
activeDate
An optional date that specifies when the certificate becomes active.
- Parameters:
activeDate
- An optional date that specifies when the certificate becomes active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inactiveDate
An optional date that specifies when the certificate becomes inactive.
- Parameters:
inactiveDate
- An optional date that specifies when the certificate becomes inactive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A short description that helps identify the certificate.
- Parameters:
description
- A short description that helps identify the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs that can be used to group and search for certificates.
- Parameters:
tags
- Key-value pairs that can be used to group and search for certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs that can be used to group and search for certificates.
- Parameters:
tags
- Key-value pairs that can be used to group and search for certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs that can be used to group and search for certificates.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ImportCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ImportCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-