public static final class CfnServiceActionProps.Builder
extends java.lang.Object
CfnServiceActionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnServiceActionProps.Builder |
acceptLanguage(java.lang.String acceptLanguage)
Sets the value of
CfnServiceActionProps.getAcceptLanguage() |
CfnServiceActionProps |
build()
Builds the configured instance.
|
CfnServiceActionProps.Builder |
definition(IResolvable definition)
Sets the value of
CfnServiceActionProps.getDefinition() |
CfnServiceActionProps.Builder |
definition(java.util.List<? extends java.lang.Object> definition)
Sets the value of
CfnServiceActionProps.getDefinition() |
CfnServiceActionProps.Builder |
definitionType(java.lang.String definitionType)
Sets the value of
CfnServiceActionProps.getDefinitionType() |
CfnServiceActionProps.Builder |
description(java.lang.String description)
Sets the value of
CfnServiceActionProps.getDescription() |
CfnServiceActionProps.Builder |
name(java.lang.String name)
Sets the value of
CfnServiceActionProps.getName() |
public CfnServiceActionProps.Builder definition(IResolvable definition)
CfnServiceActionProps.getDefinition()
definition
- A map that defines the self-service action. This parameter is required.this
public CfnServiceActionProps.Builder definition(java.util.List<? extends java.lang.Object> definition)
CfnServiceActionProps.getDefinition()
definition
- A map that defines the self-service action. This parameter is required.this
public CfnServiceActionProps.Builder definitionType(java.lang.String definitionType)
CfnServiceActionProps.getDefinitionType()
definitionType
- The self-service action definition type. This parameter is required.
For example, SSM_AUTOMATION
.this
public CfnServiceActionProps.Builder name(java.lang.String name)
CfnServiceActionProps.getName()
name
- The self-service action name. This parameter is required.this
public CfnServiceActionProps.Builder acceptLanguage(java.lang.String acceptLanguage)
CfnServiceActionProps.getAcceptLanguage()
acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinesethis
public CfnServiceActionProps.Builder description(java.lang.String description)
CfnServiceActionProps.getDescription()
description
- The self-service action description.this
public CfnServiceActionProps build()
CfnServiceActionProps
java.lang.NullPointerException
- if any required attribute was not provided