@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElbLoadBalancerInstance extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about an EC2 instance for a load balancer.
Constructor and Description |
---|
AwsElbLoadBalancerInstance() |
Modifier and Type | Method and Description |
---|---|
AwsElbLoadBalancerInstance |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceId()
The instance identifier.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstanceId(String instanceId)
The instance identifier.
|
String |
toString()
Returns a string representation of this object.
|
AwsElbLoadBalancerInstance |
withInstanceId(String instanceId)
The instance identifier.
|
public void setInstanceId(String instanceId)
The instance identifier.
instanceId
- The instance identifier.public String getInstanceId()
The instance identifier.
public AwsElbLoadBalancerInstance withInstanceId(String instanceId)
The instance identifier.
instanceId
- The instance identifier.public String toString()
toString
in class Object
Object.toString()
public AwsElbLoadBalancerInstance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.