@Generated(value="software.amazon.awssdk:codegen") public final class StartSessionRequest extends SsmRequest implements ToCopyableBuilder<StartSessionRequest.Builder,StartSessionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
StartSessionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static StartSessionRequest.Builder |
builder() |
String |
documentName()
The name of the SSM document to define the parameters and plugin settings for the session.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasParameters()
Returns true if the Parameters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
Map<String,List<String>> |
parameters()
Reserved for future use.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartSessionRequest.Builder> |
serializableBuilderClass() |
String |
target()
The instance to connect to for the session.
|
StartSessionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String target()
The instance to connect to for the session.
public String documentName()
The name of the SSM document to define the parameters and plugin settings for the session. For example,
SSM-SessionManagerRunShell
. You can call the GetDocument API to verify the document exists
before attempting to start a session. If no document name is provided, a shell to the instance is launched by
default.
SSM-SessionManagerRunShell
. You can call the GetDocument API to verify the document
exists before attempting to start a session. If no document name is provided, a shell to the instance is
launched by default.public boolean hasParameters()
public Map<String,List<String>> parameters()
Reserved for future use.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasParameters()
to see if a value was sent in this field.
public StartSessionRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<StartSessionRequest.Builder,StartSessionRequest>
toBuilder
in class SsmRequest
public static StartSessionRequest.Builder builder()
public static Class<? extends StartSessionRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.