@Generated(value="software.amazon.awssdk:codegen") public final class CreateServiceActionRequest extends ServiceCatalogRequest implements ToCopyableBuilder<CreateServiceActionRequest.Builder,CreateServiceActionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateServiceActionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
acceptLanguage()
The language code.
|
static CreateServiceActionRequest.Builder |
builder() |
Map<ServiceActionDefinitionKey,String> |
definition()
The self-service action definition.
|
Map<String,String> |
definitionAsStrings()
The self-service action definition.
|
ServiceActionDefinitionType |
definitionType()
The service action definition type.
|
String |
definitionTypeAsString()
The service action definition type.
|
String |
description()
The self-service action description.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDefinition()
Returns true if the Definition property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
idempotencyToken()
A unique identifier that you provide to ensure idempotency.
|
String |
name()
The self-service action name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateServiceActionRequest.Builder> |
serializableBuilderClass() |
CreateServiceActionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The self-service action name.
public final ServiceActionDefinitionType definitionType()
The service action definition type. For example, SSM_AUTOMATION.
If the service returns an enum value that is not available in the current SDK version, definitionType
will return ServiceActionDefinitionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from definitionTypeAsString().
SSM_AUTOMATION.ServiceActionDefinitionTypepublic final String definitionTypeAsString()
The service action definition type. For example, SSM_AUTOMATION.
If the service returns an enum value that is not available in the current SDK version, definitionType
will return ServiceActionDefinitionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from definitionTypeAsString().
SSM_AUTOMATION.ServiceActionDefinitionTypepublic final Map<ServiceActionDefinitionKey,String> definition()
The self-service action definition. Can be one of the following:
The name of the AWS 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 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\"}] or
[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDefinition() to see if a value was sent in this field.
The name of the AWS 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 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\"}] or
[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].
public final boolean hasDefinition()
public final Map<String,String> definitionAsStrings()
The self-service action definition. Can be one of the following:
The name of the AWS 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 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\"}] or
[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDefinition() to see if a value was sent in this field.
The name of the AWS 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 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\"}] or
[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].
public final String description()
The self-service action description.
public final String acceptLanguage()
The language code.
en - English (default)
jp - Japanese
zh - Chinese
en - English (default)
jp - Japanese
zh - Chinese
public final 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.
public CreateServiceActionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateServiceActionRequest.Builder,CreateServiceActionRequest>toBuilder in class ServiceCatalogRequestpublic static CreateServiceActionRequest.Builder builder()
public static Class<? extends CreateServiceActionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.