@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartSessionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
StartSessionRequest() |
| Modifier and Type | Method and Description |
|---|---|
StartSessionRequest |
addParametersEntry(String key,
List<String> value)
Add a single Parameters entry
|
StartSessionRequest |
clearParametersEntries()
Removes all the entries added into Parameters.
|
StartSessionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDocumentName()
The name of the SSM document to define the parameters and plugin settings for the session.
|
Map<String,List<String>> |
getParameters()
The values you want to specify for the parameters defined in the Session document.
|
String |
getReason()
The reason for connecting to the instance.
|
String |
getTarget()
The managed node to connect to for the session.
|
int |
hashCode() |
void |
setDocumentName(String documentName)
The name of the SSM document to define the parameters and plugin settings for the session.
|
void |
setParameters(Map<String,List<String>> parameters)
The values you want to specify for the parameters defined in the Session document.
|
void |
setReason(String reason)
The reason for connecting to the instance.
|
void |
setTarget(String target)
The managed node to connect to for the session.
|
String |
toString()
Returns a string representation of this object.
|
StartSessionRequest |
withDocumentName(String documentName)
The name of the SSM document to define the parameters and plugin settings for the session.
|
StartSessionRequest |
withParameters(Map<String,List<String>> parameters)
The values you want to specify for the parameters defined in the Session document.
|
StartSessionRequest |
withReason(String reason)
The reason for connecting to the instance.
|
StartSessionRequest |
withTarget(String target)
The managed node to connect to for the session.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setTarget(String target)
The managed node to connect to for the session.
target - The managed node to connect to for the session.public String getTarget()
The managed node to connect to for the session.
public StartSessionRequest withTarget(String target)
The managed node to connect to for the session.
target - The managed node to connect to for the session.public void setDocumentName(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 managed node is launched by
default.
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 managed node
is launched by default.public String getDocumentName()
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 managed node 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 managed node
is launched by default.public StartSessionRequest withDocumentName(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 managed node is launched by
default.
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 managed node
is launched by default.public void setReason(String reason)
The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events event created when you start the session.
reason - The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch
Events event created when you start the session.public String getReason()
The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events event created when you start the session.
public StartSessionRequest withReason(String reason)
The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events event created when you start the session.
reason - The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch
Events event created when you start the session.public Map<String,List<String>> getParameters()
The values you want to specify for the parameters defined in the Session document.
public void setParameters(Map<String,List<String>> parameters)
The values you want to specify for the parameters defined in the Session document.
parameters - The values you want to specify for the parameters defined in the Session document.public StartSessionRequest withParameters(Map<String,List<String>> parameters)
The values you want to specify for the parameters defined in the Session document.
parameters - The values you want to specify for the parameters defined in the Session document.public StartSessionRequest addParametersEntry(String key, List<String> value)
public StartSessionRequest clearParametersEntries()
public String toString()
toString in class ObjectObject.toString()public StartSessionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.