@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 instance targeted by the command.
|
String |
pluginName()
The name of the plugin 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.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String commandId()
(Required) The parent command ID of the invocation plugin.
public final String instanceId()
(Required) The ID of the managed instance targeted by the command. A managed instance can be an Amazon Elastic Compute Cloud (Amazon EC2) instance or an instance in your hybrid environment that is configured for Amazon Web Services Systems Manager.
public final String pluginName()
The name of the plugin for which you want detailed results. If the document contains only one plugin, you can omit the name and details for that plugin. If the document contains more than one plugin, you must specify the name of the plugin for which you want to view details.
Plugin names are also referred to as step names in Systems Manager documents (SSM documents). For example,
aws:RunShellScript is a plugin.
To find the PluginName, check the document content and find the name of the plugin. Alternatively,
use ListCommandInvocations with the CommandId and Details parameters. The
PluginName is the Name attribute of the CommandPlugin object in the
CommandPlugins list.
Plugin names are also referred to as step names in Systems Manager documents (SSM documents). For
example, aws:RunShellScript is a plugin.
To find the PluginName, check the document content and find the name of the plugin.
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 SsmRequestpublic static GetCommandInvocationRequest.Builder builder()
public static Class<? extends GetCommandInvocationRequest.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.