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
- x509 v3 Certificate Revocation List to revoke auth for corresponding certificates presented in CreateSession operations. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnCRLProps.getName()
- Parameters:
name
- The customer specified name of the resource. This parameter is required.- Returns:
this
-
enabled
Sets the value ofCfnCRLProps.getEnabled()
- Parameters:
enabled
- The enabled status of the resource.- Returns:
this
-
enabled
Sets the value ofCfnCRLProps.getEnabled()
- Parameters:
enabled
- The enabled status of the resource.- Returns:
this
-
tags
Sets the value ofCfnCRLProps.getTags()
- Parameters:
tags
- A list of Tags.- 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
-