Interface GetCommandInvocationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetCommandInvocationRequest.Builder,GetCommandInvocationRequest>
,SdkBuilder<GetCommandInvocationRequest.Builder,GetCommandInvocationRequest>
,SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
- GetCommandInvocationRequest
public static interface GetCommandInvocationRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<GetCommandInvocationRequest.Builder,GetCommandInvocationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCommandInvocationRequest.Builder
commandId(String commandId)
(Required) The parent command ID of the invocation plugin.GetCommandInvocationRequest.Builder
instanceId(String instanceId)
(Required) The ID of the managed node targeted by the command.GetCommandInvocationRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
GetCommandInvocationRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
GetCommandInvocationRequest.Builder
pluginName(String pluginName)
The name of the step for which you want detailed results.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
-
-
-
Method Detail
-
commandId
GetCommandInvocationRequest.Builder commandId(String commandId)
(Required) The parent command ID of the invocation plugin.
- Parameters:
commandId
- (Required) The parent command ID of the invocation plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
GetCommandInvocationRequest.Builder instanceId(String instanceId)
(Required) The ID of the managed node targeted by the command. A managed node can be an Amazon Elastic Compute Cloud (Amazon EC2) instance, edge device, and on-premises server or VM in your hybrid environment that is configured for Amazon Web Services Systems Manager.
- Parameters:
instanceId
- (Required) The ID of the managed node targeted by the command. A managed node can be an Amazon Elastic Compute Cloud (Amazon EC2) instance, edge device, and on-premises server or VM in your hybrid environment that is configured for Amazon Web Services Systems Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pluginName
GetCommandInvocationRequest.Builder pluginName(String pluginName)
The name of the step for which you want detailed results. If the document contains only one step, you can omit the name and details for that step. If the document contains more than one step, you must specify the name of the step for which you want to view details. Be sure to specify the name of the step, not the name of a plugin like
aws:RunShellScript
.To find the
PluginName
, check the document content and find the name of the step you want details for. Alternatively, use ListCommandInvocations with theCommandId
andDetails
parameters. ThePluginName
is theName
attribute of theCommandPlugin
object in theCommandPlugins
list.- Parameters:
pluginName
- The name of the step for which you want detailed results. If the document contains only one step, you can omit the name and details for that step. If the document contains more than one step, you must specify the name of the step for which you want to view details. Be sure to specify the name of the step, not the name of a plugin likeaws:RunShellScript
.To find the
PluginName
, check the document content and find the name of the step you want details for. Alternatively, use ListCommandInvocations with theCommandId
andDetails
parameters. ThePluginName
is theName
attribute of theCommandPlugin
object in theCommandPlugins
list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetCommandInvocationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
GetCommandInvocationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-