Class CfnSupportPermitProps.Builder
java.lang.Object
software.amazon.awscdk.services.supportauthz.CfnSupportPermitProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSupportPermitProps>
- Enclosing interface:
CfnSupportPermitProps
@Stability(Stable)
public static final class CfnSupportPermitProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSupportPermitProps>
A builder for
CfnSupportPermitProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnSupportPermitProps.getDescription()Sets the value ofCfnSupportPermitProps.getName()permit(IResolvable permit) Sets the value ofCfnSupportPermitProps.getPermit()Sets the value ofCfnSupportPermitProps.getPermit()signingKeyInfo(IResolvable signingKeyInfo) Sets the value ofCfnSupportPermitProps.getSigningKeyInfo()signingKeyInfo(CfnSupportPermit.SigningKeyInfoProperty signingKeyInfo) Sets the value ofCfnSupportPermitProps.getSigningKeyInfo()supportCaseDisplayId(String supportCaseDisplayId) Sets the value ofCfnSupportPermitProps.getSupportCaseDisplayId()Sets the value ofCfnSupportPermitProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnSupportPermitProps.getName()- Parameters:
name- The name of the support permit. This parameter is required.- Returns:
this
-
permit
Sets the value ofCfnSupportPermitProps.getPermit()- Parameters:
permit- The grant definition: which actions on which resources, optionally constrained by time conditions. This parameter is required.- Returns:
this
-
permit
@Stability(Stable) public CfnSupportPermitProps.Builder permit(CfnSupportPermit.PermitProperty permit) Sets the value ofCfnSupportPermitProps.getPermit()- Parameters:
permit- The grant definition: which actions on which resources, optionally constrained by time conditions. This parameter is required.- Returns:
this
-
signingKeyInfo
Sets the value ofCfnSupportPermitProps.getSigningKeyInfo()- Parameters:
signingKeyInfo- The signing key used by the permit. This parameter is required. Exactly one key type must be provided.- Returns:
this
-
signingKeyInfo
@Stability(Stable) public CfnSupportPermitProps.Builder signingKeyInfo(CfnSupportPermit.SigningKeyInfoProperty signingKeyInfo) Sets the value ofCfnSupportPermitProps.getSigningKeyInfo()- Parameters:
signingKeyInfo- The signing key used by the permit. This parameter is required. Exactly one key type must be provided.- Returns:
this
-
description
Sets the value ofCfnSupportPermitProps.getDescription()- Parameters:
description- An optional description of the support permit.- Returns:
this
-
supportCaseDisplayId
@Stability(Stable) public CfnSupportPermitProps.Builder supportCaseDisplayId(String supportCaseDisplayId) Sets the value ofCfnSupportPermitProps.getSupportCaseDisplayId()- Parameters:
supportCaseDisplayId- The support case display identifier associated with the permit. When provided, the permit is linked to the specified AWS Support case.- Returns:
this
-
tags
Sets the value ofCfnSupportPermitProps.getTags()- Parameters:
tags- A list of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSupportPermitProps>- Returns:
- a new instance of
CfnSupportPermitProps - Throws:
NullPointerException- if any required attribute was not provided
-