Class CfnServiceActionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.servicecatalog.CfnServiceActionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceActionMixinProps>
- Enclosing interface:
CfnServiceActionMixinProps
@Stability(Stable)
public static final class CfnServiceActionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceActionMixinProps>
A builder for
CfnServiceActionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage(String acceptLanguage) Sets the value ofCfnServiceActionMixinProps.getAcceptLanguage()build()Builds the configured instance.definition(List<? extends Object> definition) Sets the value ofCfnServiceActionMixinProps.getDefinition()definition(IResolvable definition) Sets the value ofCfnServiceActionMixinProps.getDefinition()definitionType(String definitionType) Sets the value ofCfnServiceActionMixinProps.getDefinitionType()description(String description) Sets the value ofCfnServiceActionMixinProps.getDescription()Sets the value ofCfnServiceActionMixinProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptLanguage
Sets the value ofCfnServiceActionMixinProps.getAcceptLanguage()- Parameters:
acceptLanguage- The language code.en- English (default)jp- Japanesezh- Chinese
- Returns:
this
-
definition
Sets the value ofCfnServiceActionMixinProps.getDefinition()- Parameters:
definition- A map that defines the self-service action.- Returns:
this
-
definition
@Stability(Stable) public CfnServiceActionMixinProps.Builder definition(List<? extends Object> definition) Sets the value ofCfnServiceActionMixinProps.getDefinition()- Parameters:
definition- A map that defines the self-service action.- Returns:
this
-
definitionType
Sets the value ofCfnServiceActionMixinProps.getDefinitionType()- Parameters:
definitionType- The self-service action definition type. For example,SSM_AUTOMATION.- Returns:
this
-
description
Sets the value ofCfnServiceActionMixinProps.getDescription()- Parameters:
description- The self-service action description.- Returns:
this
-
name
Sets the value ofCfnServiceActionMixinProps.getName()- Parameters:
name- The self-service action name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceActionMixinProps>- Returns:
- a new instance of
CfnServiceActionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-