Class CfnCRLProps.Builder
java.lang.Object
software.amazon.awscdk.services.rolesanywhere.CfnCRLProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCRLProps>
- Enclosing interface:
CfnCRLProps
@Stability(Stable)
public static final class CfnCRLProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCRLProps>
A builder for
CfnCRLProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnCRLProps.getCrlData()
Sets the value ofCfnCRLProps.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnCRLProps.getEnabled()
Sets the value ofCfnCRLProps.getName()
Sets the value ofCfnCRLProps.getTags()
trustAnchorArn
(String trustAnchorArn) Sets the value ofCfnCRLProps.getTrustAnchorArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
crlData
Sets the value ofCfnCRLProps.getCrlData()
- Parameters:
crlData
- The x509 v3 specified certificate revocation list (CRL). This parameter is required.- Returns:
this
-
name
Sets the value ofCfnCRLProps.getName()
- Parameters:
name
- The name of the certificate revocation list (CRL). This parameter is required.- Returns:
this
-
enabled
Sets the value ofCfnCRLProps.getEnabled()
- Parameters:
enabled
- Specifies whether the certificate revocation list (CRL) is enabled.- Returns:
this
-
enabled
Sets the value ofCfnCRLProps.getEnabled()
- Parameters:
enabled
- Specifies whether the certificate revocation list (CRL) is enabled.- Returns:
this
-
tags
Sets the value ofCfnCRLProps.getTags()
- Parameters:
tags
- A list of tags to attach to the certificate revocation list (CRL).- Returns:
this
-
trustAnchorArn
Sets the value ofCfnCRLProps.getTrustAnchorArn()
- Parameters:
trustAnchorArn
- The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCRLProps>
- Returns:
- a new instance of
CfnCRLProps
- Throws:
NullPointerException
- if any required attribute was not provided
-