Class CfnTrustStoreRevocation.TrustStoreRevocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.CfnTrustStoreRevocation.TrustStoreRevocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrustStoreRevocation.TrustStoreRevocationProperty>
- Enclosing interface:
CfnTrustStoreRevocation.TrustStoreRevocationProperty
@Stability(Stable)
public static final class CfnTrustStoreRevocation.TrustStoreRevocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrustStoreRevocation.TrustStoreRevocationProperty>
A builder for
CfnTrustStoreRevocation.TrustStoreRevocationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.numberOfRevokedEntries
(Number numberOfRevokedEntries) revocationId
(String revocationId) Sets the value ofCfnTrustStoreRevocation.TrustStoreRevocationProperty.getRevocationId()
revocationType
(String revocationType) Sets the value ofCfnTrustStoreRevocation.TrustStoreRevocationProperty.getRevocationType()
trustStoreArn
(String trustStoreArn) Sets the value ofCfnTrustStoreRevocation.TrustStoreRevocationProperty.getTrustStoreArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
numberOfRevokedEntries
@Stability(Stable) public CfnTrustStoreRevocation.TrustStoreRevocationProperty.Builder numberOfRevokedEntries(Number numberOfRevokedEntries) - Parameters:
numberOfRevokedEntries
- The number of revoked certificates.- Returns:
this
-
revocationId
@Stability(Stable) public CfnTrustStoreRevocation.TrustStoreRevocationProperty.Builder revocationId(String revocationId) Sets the value ofCfnTrustStoreRevocation.TrustStoreRevocationProperty.getRevocationId()
- Parameters:
revocationId
- The revocation ID of the revocation file.- Returns:
this
-
revocationType
@Stability(Stable) public CfnTrustStoreRevocation.TrustStoreRevocationProperty.Builder revocationType(String revocationType) Sets the value ofCfnTrustStoreRevocation.TrustStoreRevocationProperty.getRevocationType()
- Parameters:
revocationType
- The type of revocation file.- Returns:
this
-
trustStoreArn
@Stability(Stable) public CfnTrustStoreRevocation.TrustStoreRevocationProperty.Builder trustStoreArn(String trustStoreArn) Sets the value ofCfnTrustStoreRevocation.TrustStoreRevocationProperty.getTrustStoreArn()
- Parameters:
trustStoreArn
- The Amazon Resource Name (ARN) of the trust store.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrustStoreRevocation.TrustStoreRevocationProperty>
- Returns:
- a new instance of
CfnTrustStoreRevocation.TrustStoreRevocationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-