public static interface CreateServiceActionRequest.Builder extends ServiceCatalogRequest.Builder, SdkPojo, CopyableBuilder<CreateServiceActionRequest.Builder,CreateServiceActionRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateServiceActionRequest.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,
ServiceActionDefinitionTypeCreateServiceActionRequest.Builder definitionType(ServiceActionDefinitionType definitionType)
The service action definition type. For example, SSM_AUTOMATION.
definitionType - The service action definition type. For example, SSM_AUTOMATION.ServiceActionDefinitionType,
ServiceActionDefinitionTypeCreateServiceActionRequest.Builder definitionWithStrings(Map<String,String> definition)
The self-service action definition. Can be one of the following:
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.
The Amazon Web Services 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\"}] or
[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].
definition - The self-service action definition. Can be one of the following:
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.
The Amazon Web Services 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\"}] or
[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].
CreateServiceActionRequest.Builder definition(Map<ServiceActionDefinitionKey,String> definition)
The self-service action definition. Can be one of the following:
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.
The Amazon Web Services 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\"}] or
[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].
definition - The self-service action definition. Can be one of the following:
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.
The Amazon Web Services 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\"}] or
[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].
CreateServiceActionRequest.Builder description(String description)
The self-service action description.
description - The self-service action description.CreateServiceActionRequest.Builder acceptLanguage(String acceptLanguage)
The language code.
jp - Japanese
zh - Chinese
acceptLanguage - The language code.
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)
overrideConfiguration in interface AwsRequest.BuilderCreateServiceActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.