public static interface CreateServiceActionRequest.Builder extends ServiceCatalogRequest.Builder, SdkPojo, CopyableBuilder<CreateServiceActionRequest.Builder,CreateServiceActionRequest>
build
overrideConfiguration
copy
applyMutation, build
CreateServiceActionRequest.Builder name(String name)
The self-service action name.
name
- The self-service action name.CreateServiceActionRequest.Builder definitionType(String definitionType)
The service action definition type. For example, SSM_AUTOMATION
.
definitionType
- The service action definition type. For example, SSM_AUTOMATION
.ServiceActionDefinitionType
,
ServiceActionDefinitionType
CreateServiceActionRequest.Builder definitionType(ServiceActionDefinitionType definitionType)
The service action definition type. For example, SSM_AUTOMATION
.
definitionType
- The service action definition type. For example, SSM_AUTOMATION
.ServiceActionDefinitionType
,
ServiceActionDefinitionType
CreateServiceActionRequest.Builder definitionWithStrings(Map<String,String> definition)
The self-service action definition. Can be one of the following:
The name of the AWS Systems Manager Document. For example, AWS-RestartEC2Instance
.
The AWS Systems Manager automation document version. For example, "Version": "1"
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"
.
The list of parameters in JSON format.
For example: [{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]
.
definition
- The self-service action definition. Can be one of the following:
The name of the AWS Systems Manager Document. For example, AWS-RestartEC2Instance
.
The AWS Systems Manager automation document version. For example, "Version": "1"
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"
.
The list of parameters in JSON format.
For example: [{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]
.
CreateServiceActionRequest.Builder definition(Map<ServiceActionDefinitionKey,String> definition)
The self-service action definition. Can be one of the following:
The name of the AWS Systems Manager Document. For example, AWS-RestartEC2Instance
.
The AWS Systems Manager automation document version. For example, "Version": "1"
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"
.
The list of parameters in JSON format.
For example: [{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]
.
definition
- The self-service action definition. Can be one of the following:
The name of the AWS Systems Manager Document. For example, AWS-RestartEC2Instance
.
The AWS Systems Manager automation document version. For example, "Version": "1"
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"
.
The list of parameters in JSON format.
For example: [{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]
.
CreateServiceActionRequest.Builder description(String description)
The self-service action description.
description
- The self-service action description.CreateServiceActionRequest.Builder acceptLanguage(String acceptLanguage)
The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
CreateServiceActionRequest.Builder idempotencyToken(String 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.
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.CreateServiceActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateServiceActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.