Class CfnSupportPermitMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.supportauthz.CfnSupportPermitMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSupportPermitMixinProps>
- Enclosing interface:
CfnSupportPermitMixinProps
@Stability(Stable)
public static final class CfnSupportPermitMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSupportPermitMixinProps>
A builder for
CfnSupportPermitMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnSupportPermitMixinProps.getDescription()Sets the value ofCfnSupportPermitMixinProps.getName()Sets the value ofCfnSupportPermitMixinProps.getPermit()permit(IResolvable permit) Sets the value ofCfnSupportPermitMixinProps.getPermit()signingKeyInfo(CfnSupportPermitPropsMixin.SigningKeyInfoProperty signingKeyInfo) Sets the value ofCfnSupportPermitMixinProps.getSigningKeyInfo()signingKeyInfo(IResolvable signingKeyInfo) Sets the value ofCfnSupportPermitMixinProps.getSigningKeyInfo()supportCaseDisplayId(String supportCaseDisplayId) Sets the value ofCfnSupportPermitMixinProps.getSupportCaseDisplayId()Sets the value ofCfnSupportPermitMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnSupportPermitMixinProps.getDescription()- Parameters:
description- An optional description of the support permit.- Returns:
this
-
name
Sets the value ofCfnSupportPermitMixinProps.getName()- Parameters:
name- The name of the support permit.- Returns:
this
-
permit
Sets the value ofCfnSupportPermitMixinProps.getPermit()- Parameters:
permit- The grant definition: which actions on which resources, optionally constrained by time conditions.- Returns:
this
-
permit
@Stability(Stable) public CfnSupportPermitMixinProps.Builder permit(CfnSupportPermitPropsMixin.PermitProperty permit) Sets the value ofCfnSupportPermitMixinProps.getPermit()- Parameters:
permit- The grant definition: which actions on which resources, optionally constrained by time conditions.- Returns:
this
-
signingKeyInfo
@Stability(Stable) public CfnSupportPermitMixinProps.Builder signingKeyInfo(IResolvable signingKeyInfo) Sets the value ofCfnSupportPermitMixinProps.getSigningKeyInfo()- Parameters:
signingKeyInfo- The signing key used by the permit. Exactly one key type must be provided.- Returns:
this
-
signingKeyInfo
@Stability(Stable) public CfnSupportPermitMixinProps.Builder signingKeyInfo(CfnSupportPermitPropsMixin.SigningKeyInfoProperty signingKeyInfo) Sets the value ofCfnSupportPermitMixinProps.getSigningKeyInfo()- Parameters:
signingKeyInfo- The signing key used by the permit. Exactly one key type must be provided.- Returns:
this
-
supportCaseDisplayId
@Stability(Stable) public CfnSupportPermitMixinProps.Builder supportCaseDisplayId(String supportCaseDisplayId) Sets the value ofCfnSupportPermitMixinProps.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 ofCfnSupportPermitMixinProps.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<CfnSupportPermitMixinProps>- Returns:
- a new instance of
CfnSupportPermitMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-