if (getEc2InstanceId() != null) sb.append("Ec2InstanceId: ").append(getEc2InstanceId()).append(","); if (getEcsClusterArn() != null) sb.append("EcsClusterArn: ").append(getEcsClusterArn()).append(","); if (getEcsContainerInstanceArn() != null) sb.append("EcsContainerInstanceArn: ").append(getEcsContainerInstanceArn()).append(",");
hashCode = prime * hashCode + ((getEbsOptimized() == null) ? 0 : getEbsOptimized().hashCode()); hashCode = prime * hashCode + ((getEc2InstanceId() == null) ? 0 : getEc2InstanceId().hashCode()); hashCode = prime * hashCode + ((getEcsClusterArn() == null) ? 0 : getEcsClusterArn().hashCode()); hashCode = prime * hashCode + ((getEcsContainerInstanceArn() == null) ? 0 : getEcsContainerInstanceArn().hashCode()); hashCode = prime * hashCode + ((getElasticIp() == null) ? 0 : getElasticIp().hashCode());
if (other.getEc2InstanceId() != null && other.getEc2InstanceId().equals(this.getEc2InstanceId()) == false) return false; if (other.getEcsClusterArn() == null ^ this.getEcsClusterArn() == null) return false; if (other.getEcsClusterArn() != null && other.getEcsClusterArn().equals(this.getEcsClusterArn()) == false) return false; if (other.getEcsContainerInstanceArn() == null ^ this.getEcsContainerInstanceArn() == null)
protocolMarshaller.marshall(instance.getEbsOptimized(), EBSOPTIMIZED_BINDING); protocolMarshaller.marshall(instance.getEc2InstanceId(), EC2INSTANCEID_BINDING); protocolMarshaller.marshall(instance.getEcsClusterArn(), ECSCLUSTERARN_BINDING); protocolMarshaller.marshall(instance.getEcsContainerInstanceArn(), ECSCONTAINERINSTANCEARN_BINDING); protocolMarshaller.marshall(instance.getElasticIp(), ELASTICIP_BINDING);
if (getEc2InstanceId() != null) sb.append("Ec2InstanceId: ").append(getEc2InstanceId()).append(","); if (getEcsClusterArn() != null) sb.append("EcsClusterArn: ").append(getEcsClusterArn()).append(","); if (getEcsContainerInstanceArn() != null) sb.append("EcsContainerInstanceArn: ").append(getEcsContainerInstanceArn()).append(",");
hashCode = prime * hashCode + ((getEbsOptimized() == null) ? 0 : getEbsOptimized().hashCode()); hashCode = prime * hashCode + ((getEc2InstanceId() == null) ? 0 : getEc2InstanceId().hashCode()); hashCode = prime * hashCode + ((getEcsClusterArn() == null) ? 0 : getEcsClusterArn().hashCode()); hashCode = prime * hashCode + ((getEcsContainerInstanceArn() == null) ? 0 : getEcsContainerInstanceArn().hashCode()); hashCode = prime * hashCode + ((getElasticIp() == null) ? 0 : getElasticIp().hashCode());
if (other.getEc2InstanceId() != null && other.getEc2InstanceId().equals(this.getEc2InstanceId()) == false) return false; if (other.getEcsClusterArn() == null ^ this.getEcsClusterArn() == null) return false; if (other.getEcsClusterArn() != null && other.getEcsClusterArn().equals(this.getEcsClusterArn()) == false) return false; if (other.getEcsContainerInstanceArn() == null ^ this.getEcsContainerInstanceArn() == null)
protocolMarshaller.marshall(instance.getEbsOptimized(), EBSOPTIMIZED_BINDING); protocolMarshaller.marshall(instance.getEc2InstanceId(), EC2INSTANCEID_BINDING); protocolMarshaller.marshall(instance.getEcsClusterArn(), ECSCLUSTERARN_BINDING); protocolMarshaller.marshall(instance.getEcsContainerInstanceArn(), ECSCONTAINERINSTANCEARN_BINDING); protocolMarshaller.marshall(instance.getElasticIp(), ELASTICIP_BINDING);