Class GetCommandInvocationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ssm.model.SsmRequest
-
- software.amazon.awssdk.services.ssm.model.GetCommandInvocationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetCommandInvocationRequest.Builder,GetCommandInvocationRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetCommandInvocationRequest extends SsmRequest implements ToCopyableBuilder<GetCommandInvocationRequest.Builder,GetCommandInvocationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetCommandInvocationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetCommandInvocationRequest.Builderbuilder()StringcommandId()(Required) The parent command ID of the invocation plugin.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()(Required) The ID of the managed node targeted by the command.StringpluginName()The name of the step for which you want detailed results.List<SdkField<?>>sdkFields()static Class<? extends GetCommandInvocationRequest.Builder>serializableBuilderClass()GetCommandInvocationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
commandId
public final String commandId()
(Required) The parent command ID of the invocation plugin.
- Returns:
- (Required) The parent command ID of the invocation plugin.
-
instanceId
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.
- Returns:
- (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.
-
pluginName
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 theCommandIdandDetailsparameters. ThePluginNameis theNameattribute of theCommandPluginobject in theCommandPluginslist.- Returns:
- 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 theCommandIdandDetailsparameters. ThePluginNameis theNameattribute of theCommandPluginobject in theCommandPluginslist.
-
toBuilder
public GetCommandInvocationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetCommandInvocationRequest.Builder,GetCommandInvocationRequest>- Specified by:
toBuilderin classSsmRequest
-
builder
public static GetCommandInvocationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetCommandInvocationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-