@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GatewayInstance extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
GatewayInstance() |
| Modifier and Type | Method and Description |
|---|---|
GatewayInstance |
clone() |
boolean |
equals(Object obj) |
String |
getBridgePlacement()
The availability of the instance to host new bridges.
|
String |
getConnectionStatus()
The connection state of the instance.
|
String |
getGatewayArn()
The Amazon Resource Name (ARN) of the instance.
|
String |
getGatewayInstanceArn()
The Amazon Resource Name (ARN) of the gateway.
|
String |
getInstanceId()
The managed instance ID generated by the SSM install.
|
List<MessageDetail> |
getInstanceMessages() |
String |
getInstanceState()
The status of the instance.
|
Integer |
getRunningBridgeCount()
The running bridge count.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBridgePlacement(String bridgePlacement)
The availability of the instance to host new bridges.
|
void |
setConnectionStatus(String connectionStatus)
The connection state of the instance.
|
void |
setGatewayArn(String gatewayArn)
The Amazon Resource Name (ARN) of the instance.
|
void |
setGatewayInstanceArn(String gatewayInstanceArn)
The Amazon Resource Name (ARN) of the gateway.
|
void |
setInstanceId(String instanceId)
The managed instance ID generated by the SSM install.
|
void |
setInstanceMessages(Collection<MessageDetail> instanceMessages) |
void |
setInstanceState(String instanceState)
The status of the instance.
|
void |
setRunningBridgeCount(Integer runningBridgeCount)
The running bridge count.
|
String |
toString()
Returns a string representation of this object.
|
GatewayInstance |
withBridgePlacement(BridgePlacement bridgePlacement)
The availability of the instance to host new bridges.
|
GatewayInstance |
withBridgePlacement(String bridgePlacement)
The availability of the instance to host new bridges.
|
GatewayInstance |
withConnectionStatus(ConnectionStatus connectionStatus)
The connection state of the instance.
|
GatewayInstance |
withConnectionStatus(String connectionStatus)
The connection state of the instance.
|
GatewayInstance |
withGatewayArn(String gatewayArn)
The Amazon Resource Name (ARN) of the instance.
|
GatewayInstance |
withGatewayInstanceArn(String gatewayInstanceArn)
The Amazon Resource Name (ARN) of the gateway.
|
GatewayInstance |
withInstanceId(String instanceId)
The managed instance ID generated by the SSM install.
|
GatewayInstance |
withInstanceMessages(Collection<MessageDetail> instanceMessages) |
GatewayInstance |
withInstanceMessages(MessageDetail... instanceMessages)
NOTE: This method appends the values to the existing list (if any).
|
GatewayInstance |
withInstanceState(InstanceState instanceState)
The status of the instance.
|
GatewayInstance |
withInstanceState(String instanceState)
The status of the instance.
|
GatewayInstance |
withRunningBridgeCount(Integer runningBridgeCount)
The running bridge count.
|
public void setBridgePlacement(String bridgePlacement)
bridgePlacement - The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or
AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new
bridges can be added to this instance.BridgePlacementpublic String getBridgePlacement()
BridgePlacementpublic GatewayInstance withBridgePlacement(String bridgePlacement)
bridgePlacement - The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or
AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new
bridges can be added to this instance.BridgePlacementpublic GatewayInstance withBridgePlacement(BridgePlacement bridgePlacement)
bridgePlacement - The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or
AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new
bridges can be added to this instance.BridgePlacementpublic void setConnectionStatus(String connectionStatus)
connectionStatus - The connection state of the instance.ConnectionStatuspublic String getConnectionStatus()
ConnectionStatuspublic GatewayInstance withConnectionStatus(String connectionStatus)
connectionStatus - The connection state of the instance.ConnectionStatuspublic GatewayInstance withConnectionStatus(ConnectionStatus connectionStatus)
connectionStatus - The connection state of the instance.ConnectionStatuspublic void setGatewayArn(String gatewayArn)
gatewayArn - The Amazon Resource Name (ARN) of the instance.public String getGatewayArn()
public GatewayInstance withGatewayArn(String gatewayArn)
gatewayArn - The Amazon Resource Name (ARN) of the instance.public void setGatewayInstanceArn(String gatewayInstanceArn)
gatewayInstanceArn - The Amazon Resource Name (ARN) of the gateway.public String getGatewayInstanceArn()
public GatewayInstance withGatewayInstanceArn(String gatewayInstanceArn)
gatewayInstanceArn - The Amazon Resource Name (ARN) of the gateway.public void setInstanceId(String instanceId)
instanceId - The managed instance ID generated by the SSM install. This will begin with "mi-".public String getInstanceId()
public GatewayInstance withInstanceId(String instanceId)
instanceId - The managed instance ID generated by the SSM install. This will begin with "mi-".public List<MessageDetail> getInstanceMessages()
public void setInstanceMessages(Collection<MessageDetail> instanceMessages)
instanceMessages - public GatewayInstance withInstanceMessages(MessageDetail... instanceMessages)
NOTE: This method appends the values to the existing list (if any). Use
setInstanceMessages(java.util.Collection) or withInstanceMessages(java.util.Collection) if you
want to override the existing values.
instanceMessages - public GatewayInstance withInstanceMessages(Collection<MessageDetail> instanceMessages)
instanceMessages - public void setInstanceState(String instanceState)
instanceState - The status of the instance.InstanceStatepublic String getInstanceState()
InstanceStatepublic GatewayInstance withInstanceState(String instanceState)
instanceState - The status of the instance.InstanceStatepublic GatewayInstance withInstanceState(InstanceState instanceState)
instanceState - The status of the instance.InstanceStatepublic void setRunningBridgeCount(Integer runningBridgeCount)
runningBridgeCount - The running bridge count.public Integer getRunningBridgeCount()
public GatewayInstance withRunningBridgeCount(Integer runningBridgeCount)
runningBridgeCount - The running bridge count.public String toString()
toString in class ObjectObject.toString()public GatewayInstance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.