@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListedGatewayInstance extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ListedGatewayInstance() |
Modifier and Type | Method and Description |
---|---|
ListedGatewayInstance |
clone() |
boolean |
equals(Object obj) |
String |
getGatewayArn()
The Amazon Resource Name (ARN) of the gateway.
|
String |
getGatewayInstanceArn()
The Amazon Resource Name (ARN) of the instance.
|
String |
getInstanceId()
The managed instance ID generated by the SSM install.
|
String |
getInstanceState()
The status of the instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGatewayArn(String gatewayArn)
The Amazon Resource Name (ARN) of the gateway.
|
void |
setGatewayInstanceArn(String gatewayInstanceArn)
The Amazon Resource Name (ARN) of the instance.
|
void |
setInstanceId(String instanceId)
The managed instance ID generated by the SSM install.
|
void |
setInstanceState(String instanceState)
The status of the instance.
|
String |
toString()
Returns a string representation of this object.
|
ListedGatewayInstance |
withGatewayArn(String gatewayArn)
The Amazon Resource Name (ARN) of the gateway.
|
ListedGatewayInstance |
withGatewayInstanceArn(String gatewayInstanceArn)
The Amazon Resource Name (ARN) of the instance.
|
ListedGatewayInstance |
withInstanceId(String instanceId)
The managed instance ID generated by the SSM install.
|
ListedGatewayInstance |
withInstanceState(InstanceState instanceState)
The status of the instance.
|
ListedGatewayInstance |
withInstanceState(String instanceState)
The status of the instance.
|
public void setGatewayArn(String gatewayArn)
gatewayArn
- The Amazon Resource Name (ARN) of the gateway.public String getGatewayArn()
public ListedGatewayInstance withGatewayArn(String gatewayArn)
gatewayArn
- The Amazon Resource Name (ARN) of the gateway.public void setGatewayInstanceArn(String gatewayInstanceArn)
gatewayInstanceArn
- The Amazon Resource Name (ARN) of the instance.public String getGatewayInstanceArn()
public ListedGatewayInstance withGatewayInstanceArn(String gatewayInstanceArn)
gatewayInstanceArn
- The Amazon Resource Name (ARN) of the instance.public void setInstanceId(String instanceId)
instanceId
- The managed instance ID generated by the SSM install. This will begin with "mi-".public String getInstanceId()
public ListedGatewayInstance withInstanceId(String instanceId)
instanceId
- The managed instance ID generated by the SSM install. This will begin with "mi-".public void setInstanceState(String instanceState)
instanceState
- The status of the instance.InstanceState
public String getInstanceState()
InstanceState
public ListedGatewayInstance withInstanceState(String instanceState)
instanceState
- The status of the instance.InstanceState
public ListedGatewayInstance withInstanceState(InstanceState instanceState)
instanceState
- The status of the instance.InstanceState
public String toString()
toString
in class Object
Object.toString()
public ListedGatewayInstance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.