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