Package com.pulumi.aws.acm.inputs
Class GetCertificatePlainArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.acm.inputs.GetCertificatePlainArgs.Builder
-
- Enclosing class:
- GetCertificatePlainArgs
public static final class GetCertificatePlainArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetCertificatePlainArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetCertificatePlainArgsbuild()GetCertificatePlainArgs.Builderdomain(java.lang.String domain)GetCertificatePlainArgs.BuilderkeyTypes(java.lang.String... keyTypes)GetCertificatePlainArgs.BuilderkeyTypes(java.util.List<java.lang.String> keyTypes)GetCertificatePlainArgs.BuildermostRecent(java.lang.Boolean mostRecent)GetCertificatePlainArgs.Builderregion(java.lang.String region)GetCertificatePlainArgs.Builderstatuses(java.lang.String... statuses)GetCertificatePlainArgs.Builderstatuses(java.util.List<java.lang.String> statuses)GetCertificatePlainArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)GetCertificatePlainArgs.Buildertypes(java.lang.String... types)GetCertificatePlainArgs.Buildertypes(java.util.List<java.lang.String> types)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetCertificatePlainArgs defaults)
-
-
Method Detail
-
domain
public GetCertificatePlainArgs.Builder domain(@Nullable java.lang.String domain)
- Parameters:
domain- Domain of the certificate to look up. If set and no certificate is found with this name, an error will be returned.- Returns:
- builder
-
keyTypes
public GetCertificatePlainArgs.Builder keyTypes(@Nullable java.util.List<java.lang.String> keyTypes)
- Parameters:
keyTypes- List of key algorithms to filter certificates. By default, ACM does not return all certificate types when searching. See the [ACM API Reference](https://docs.aws.amazon.com/acm/latest/APIReference/API_CertificateDetail.html#ACM-Type-CertificateDetail-KeyAlgorithm) for supported key algorithms.- Returns:
- builder
-
keyTypes
public GetCertificatePlainArgs.Builder keyTypes(java.lang.String... keyTypes)
- Parameters:
keyTypes- List of key algorithms to filter certificates. By default, ACM does not return all certificate types when searching. See the [ACM API Reference](https://docs.aws.amazon.com/acm/latest/APIReference/API_CertificateDetail.html#ACM-Type-CertificateDetail-KeyAlgorithm) for supported key algorithms.- Returns:
- builder
-
mostRecent
public GetCertificatePlainArgs.Builder mostRecent(@Nullable java.lang.Boolean mostRecent)
- Parameters:
mostRecent- If set to true, it sorts the certificates matched by previous criteria by the NotBefore field, returning only the most recent one. If set to false, it returns an error if more than one certificate is found. Defaults to false.- Returns:
- builder
-
region
public GetCertificatePlainArgs.Builder region(@Nullable java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
statuses
public GetCertificatePlainArgs.Builder statuses(@Nullable java.util.List<java.lang.String> statuses)
- Parameters:
statuses- List of statuses on which to filter the returned list. Valid values are `PENDING_VALIDATION`, `ISSUED`, `INACTIVE`, `EXPIRED`, `VALIDATION_TIMED_OUT`, `REVOKED` and `FAILED`. If no value is specified, only certificates in the `ISSUED` state are returned.- Returns:
- builder
-
statuses
public GetCertificatePlainArgs.Builder statuses(java.lang.String... statuses)
- Parameters:
statuses- List of statuses on which to filter the returned list. Valid values are `PENDING_VALIDATION`, `ISSUED`, `INACTIVE`, `EXPIRED`, `VALIDATION_TIMED_OUT`, `REVOKED` and `FAILED`. If no value is specified, only certificates in the `ISSUED` state are returned.- Returns:
- builder
-
tags
public GetCertificatePlainArgs.Builder tags(@Nullable java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A mapping of tags, each pair of which must exactly match a pair on the desired certificates.- Returns:
- builder
-
types
public GetCertificatePlainArgs.Builder types(@Nullable java.util.List<java.lang.String> types)
- Parameters:
types- List of types on which to filter the returned list. Valid values are `AMAZON_ISSUED`, `PRIVATE`, and `IMPORTED`.- Returns:
- builder
-
types
public GetCertificatePlainArgs.Builder types(java.lang.String... types)
- Parameters:
types- List of types on which to filter the returned list. Valid values are `AMAZON_ISSUED`, `PRIVATE`, and `IMPORTED`.- Returns:
- builder
-
build
public GetCertificatePlainArgs build()
-
-