@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getAcceleratorArn() != null)
            sb.append("AcceleratorArn: ").append(getAcceleratorArn()).append(",");
        if (getAcceleratorSocketAddresses() != null)
            sb.append("AcceleratorSocketAddresses: ").append(getAcceleratorSocketAddresses()).append(",");
        if (getEndpointGroupArn() != null)
            sb.append("EndpointGroupArn: ").append(getEndpointGroupArn()).append(",");
        if (getEndpointId() != null)
            sb.append("EndpointId: ").append(getEndpointId()).append(",");
        if (getEndpointGroupRegion() != null)
            sb.append("EndpointGroupRegion: ").append(getEndpointGroupRegion()).append(",");
        if (getDestinationSocketAddress() != null)
            sb.append("DestinationSocketAddress: ").append(getDestinationSocketAddress()).append(",");
        if (getIpAddressType() != null)
            sb.append("IpAddressType: ").append(getIpAddressType()).append(",");
        if (getDestinationTrafficState() != null)
            sb.append("DestinationTrafficState: ").append(getDestinationTrafficState());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/DestinationPortMapping.java