Interface ListedCertificate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ListedCertificate.Builder,ListedCertificate>,SdkBuilder<ListedCertificate.Builder,ListedCertificate>,SdkPojo
- Enclosing class:
- ListedCertificate
public static interface ListedCertificate.Builder extends SdkPojo, CopyableBuilder<ListedCertificate.Builder,ListedCertificate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListedCertificate.BuilderactiveDate(Instant activeDate)An optional date that specifies when the certificate becomes active.ListedCertificate.Builderarn(String arn)The Amazon Resource Name (ARN) of the specified certificate.ListedCertificate.BuildercertificateId(String certificateId)An array of identifiers for the imported certificates.ListedCertificate.Builderdescription(String description)The name or short description that's used to identify the certificate.ListedCertificate.BuilderinactiveDate(Instant inactiveDate)An optional date that specifies when the certificate becomes inactive.ListedCertificate.Builderstatus(String status)The certificate can be eitherACTIVE,PENDING_ROTATION, orINACTIVE.ListedCertificate.Builderstatus(CertificateStatusType status)The certificate can be eitherACTIVE,PENDING_ROTATION, orINACTIVE.ListedCertificate.Buildertype(String type)The type for the certificate.ListedCertificate.Buildertype(CertificateType type)The type for the certificate.ListedCertificate.Builderusage(String usage)Specifies how this certificate is used.ListedCertificate.Builderusage(CertificateUsageType usage)Specifies how this certificate is used.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
ListedCertificate.Builder arn(String arn)
The Amazon Resource Name (ARN) of the specified certificate.
- Parameters:
arn- The Amazon Resource Name (ARN) of the specified certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateId
ListedCertificate.Builder certificateId(String certificateId)
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
- Parameters:
certificateId- An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usage
ListedCertificate.Builder usage(String usage)
Specifies how this certificate is used. It can be used in the following ways:
-
SIGNING: For signing AS2 messages -
ENCRYPTION: For encrypting AS2 messages -
TLS: For securing AS2 communications sent over HTTPS
- Parameters:
usage- Specifies how this certificate is used. It can be used in the following ways:-
SIGNING: For signing AS2 messages -
ENCRYPTION: For encrypting AS2 messages -
TLS: For securing AS2 communications sent over HTTPS
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateUsageType,CertificateUsageType
-
-
usage
ListedCertificate.Builder usage(CertificateUsageType usage)
Specifies how this certificate is used. It can be used in the following ways:
-
SIGNING: For signing AS2 messages -
ENCRYPTION: For encrypting AS2 messages -
TLS: For securing AS2 communications sent over HTTPS
- Parameters:
usage- Specifies how this certificate is used. It can be used in the following ways:-
SIGNING: For signing AS2 messages -
ENCRYPTION: For encrypting AS2 messages -
TLS: For securing AS2 communications sent over HTTPS
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateUsageType,CertificateUsageType
-
-
status
ListedCertificate.Builder status(String status)
The certificate can be either
ACTIVE,PENDING_ROTATION, orINACTIVE.PENDING_ROTATIONmeans that this certificate will replace the current certificate when it expires.- Parameters:
status- The certificate can be eitherACTIVE,PENDING_ROTATION, orINACTIVE.PENDING_ROTATIONmeans that this certificate will replace the current certificate when it expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateStatusType,CertificateStatusType
-
status
ListedCertificate.Builder status(CertificateStatusType status)
The certificate can be either
ACTIVE,PENDING_ROTATION, orINACTIVE.PENDING_ROTATIONmeans that this certificate will replace the current certificate when it expires.- Parameters:
status- The certificate can be eitherACTIVE,PENDING_ROTATION, orINACTIVE.PENDING_ROTATIONmeans that this certificate will replace the current certificate when it expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateStatusType,CertificateStatusType
-
activeDate
ListedCertificate.Builder activeDate(Instant 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
ListedCertificate.Builder inactiveDate(Instant 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.
-
type
ListedCertificate.Builder type(String type)
The type for the certificate. If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type isCERTIFICATE.- Parameters:
type- The type for the certificate. If a private key has been specified for the certificate, its type isCERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type isCERTIFICATE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateType,CertificateType
-
type
ListedCertificate.Builder type(CertificateType type)
The type for the certificate. If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type isCERTIFICATE.- Parameters:
type- The type for the certificate. If a private key has been specified for the certificate, its type isCERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type isCERTIFICATE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateType,CertificateType
-
description
ListedCertificate.Builder description(String description)
The name or short description that's used to identify the certificate.
- Parameters:
description- The name or short description that's used to identify the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-