@Generated(value="software.amazon.awssdk:codegen") public final class GetCommandInvocationRequest extends SsmRequest implements ToCopyableBuilder<GetCommandInvocationRequest.Builder,GetCommandInvocationRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetCommandInvocationRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetCommandInvocationRequest.Builder |
builder() |
String |
commandId()
(Required) The parent command ID of the invocation plugin.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
(Required) The ID of the managed node targeted by the command.
|
String |
pluginName()
The name of the step for which you want detailed results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetCommandInvocationRequest.Builder> |
serializableBuilderClass() |
GetCommandInvocationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String commandId()
(Required) The parent command ID of the invocation plugin.
public final 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.
public final 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 the CommandId
and Details
parameters. The PluginName
is the Name
attribute of the CommandPlugin
object in the CommandPlugins
list.
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 the CommandId
and
Details
parameters. The PluginName
is the Name
attribute of the
CommandPlugin
object in the CommandPlugins
list.
public GetCommandInvocationRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetCommandInvocationRequest.Builder,GetCommandInvocationRequest>
toBuilder
in class SsmRequest
public static GetCommandInvocationRequest.Builder builder()
public static Class<? extends GetCommandInvocationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.