@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInstanceAccessDetailsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetInstanceAccessDetailsRequest() |
Modifier and Type | Method and Description |
---|---|
GetInstanceAccessDetailsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceName()
The name of the instance to access.
|
String |
getProtocol()
The protocol to use to connect to your instance.
|
int |
hashCode() |
void |
setInstanceName(String instanceName)
The name of the instance to access.
|
void |
setProtocol(InstanceAccessProtocol protocol)
The protocol to use to connect to your instance.
|
void |
setProtocol(String protocol)
The protocol to use to connect to your instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetInstanceAccessDetailsRequest |
withInstanceName(String instanceName)
The name of the instance to access.
|
GetInstanceAccessDetailsRequest |
withProtocol(InstanceAccessProtocol protocol)
The protocol to use to connect to your instance.
|
GetInstanceAccessDetailsRequest |
withProtocol(String protocol)
The protocol to use to connect to your instance.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setInstanceName(String instanceName)
The name of the instance to access.
instanceName
- The name of the instance to access.public String getInstanceName()
The name of the instance to access.
public GetInstanceAccessDetailsRequest withInstanceName(String instanceName)
The name of the instance to access.
instanceName
- The name of the instance to access.public void setProtocol(String protocol)
The protocol to use to connect to your instance. Defaults to ssh
.
protocol
- The protocol to use to connect to your instance. Defaults to ssh
.InstanceAccessProtocol
public String getProtocol()
The protocol to use to connect to your instance. Defaults to ssh
.
ssh
.InstanceAccessProtocol
public GetInstanceAccessDetailsRequest withProtocol(String protocol)
The protocol to use to connect to your instance. Defaults to ssh
.
protocol
- The protocol to use to connect to your instance. Defaults to ssh
.InstanceAccessProtocol
public void setProtocol(InstanceAccessProtocol protocol)
The protocol to use to connect to your instance. Defaults to ssh
.
protocol
- The protocol to use to connect to your instance. Defaults to ssh
.InstanceAccessProtocol
public GetInstanceAccessDetailsRequest withProtocol(InstanceAccessProtocol protocol)
The protocol to use to connect to your instance. Defaults to ssh
.
protocol
- The protocol to use to connect to your instance. Defaults to ssh
.InstanceAccessProtocol
public String toString()
toString
in class Object
Object.toString()
public GetInstanceAccessDetailsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.