Interface CreateServiceActionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateServiceActionRequest.Builder,
,CreateServiceActionRequest> SdkBuilder<CreateServiceActionRequest.Builder,
,CreateServiceActionRequest> SdkPojo
,SdkRequest.Builder
,ServiceCatalogRequest.Builder
- Enclosing class:
CreateServiceActionRequest
-
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage
(String acceptLanguage) The language code.definition
(Map<ServiceActionDefinitionKey, String> definition) The self-service action definition.definitionType
(String definitionType) The service action definition type.definitionType
(ServiceActionDefinitionType definitionType) The service action definition type.definitionWithStrings
(Map<String, String> definition) The self-service action definition.description
(String description) The self-service action description.idempotencyToken
(String idempotencyToken) A unique identifier that you provide to ensure idempotency.The self-service action name.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.servicecatalog.model.ServiceCatalogRequest.Builder
build
-
Method Details
-
name
The self-service action name.
- Parameters:
name
- The self-service action name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definitionType
The service action definition type. For example,
SSM_AUTOMATION
.- Parameters:
definitionType
- The service action definition type. For example,SSM_AUTOMATION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
definitionType
The service action definition type. For example,
SSM_AUTOMATION
.- Parameters:
definitionType
- The service action definition type. For example,SSM_AUTOMATION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
definitionWithStrings
The self-service action definition. Can be one of the following:
- Name
-
The name of the Amazon Web Services Systems Manager document (SSM document). For example,
AWS-RestartEC2Instance
.If you are using a shared SSM document, you must provide the ARN instead of the name.
- Version
-
The Amazon Web Services Systems Manager automation document version. For example,
"Version": "1"
- AssumeRole
-
The Amazon Resource Name (ARN) of the role that performs the self-service actions on your behalf. For example,
"AssumeRole": "arn:aws:iam::12345678910:role/ActionRole"
.To reuse the provisioned product launch role, set to
"AssumeRole": "LAUNCH_ROLE"
. - Parameters
-
The list of parameters in JSON format.
For example:
[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]
or[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]
.
- Parameters:
definition
- The self-service action definition. Can be one of the following:- Name
-
The name of the Amazon Web Services Systems Manager document (SSM document). For example,
AWS-RestartEC2Instance
.If you are using a shared SSM document, you must provide the ARN instead of the name.
- Version
-
The Amazon Web Services Systems Manager automation document version. For example,
"Version": "1"
- AssumeRole
-
The Amazon Resource Name (ARN) of the role that performs the self-service actions on your behalf. For example,
"AssumeRole": "arn:aws:iam::12345678910:role/ActionRole"
.To reuse the provisioned product launch role, set to
"AssumeRole": "LAUNCH_ROLE"
. - Parameters
-
The list of parameters in JSON format.
For example:
[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]
or[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]
.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The self-service action definition. Can be one of the following:
- Name
-
The name of the Amazon Web Services Systems Manager document (SSM document). For example,
AWS-RestartEC2Instance
.If you are using a shared SSM document, you must provide the ARN instead of the name.
- Version
-
The Amazon Web Services Systems Manager automation document version. For example,
"Version": "1"
- AssumeRole
-
The Amazon Resource Name (ARN) of the role that performs the self-service actions on your behalf. For example,
"AssumeRole": "arn:aws:iam::12345678910:role/ActionRole"
.To reuse the provisioned product launch role, set to
"AssumeRole": "LAUNCH_ROLE"
. - Parameters
-
The list of parameters in JSON format.
For example:
[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]
or[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]
.
- Parameters:
definition
- The self-service action definition. Can be one of the following:- Name
-
The name of the Amazon Web Services Systems Manager document (SSM document). For example,
AWS-RestartEC2Instance
.If you are using a shared SSM document, you must provide the ARN instead of the name.
- Version
-
The Amazon Web Services Systems Manager automation document version. For example,
"Version": "1"
- AssumeRole
-
The Amazon Resource Name (ARN) of the role that performs the self-service actions on your behalf. For example,
"AssumeRole": "arn:aws:iam::12345678910:role/ActionRole"
.To reuse the provisioned product launch role, set to
"AssumeRole": "LAUNCH_ROLE"
. - Parameters
-
The list of parameters in JSON format.
For example:
[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]
or[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]
.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The self-service action description.
- Parameters:
description
- The self-service action description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceptLanguage
The language code.
-
jp
- Japanese -
zh
- Chinese
- Parameters:
acceptLanguage
- The language code.-
jp
- Japanese -
zh
- Chinese
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
idempotencyToken
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
- Parameters:
idempotencyToken
- A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateServiceActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateServiceActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-