@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getAssociationId() != null)
            sb.append("AssociationId: ").append(getAssociationId()).append(",");
        if (getBranchInterfaceId() != null)
            sb.append("BranchInterfaceId: ").append(getBranchInterfaceId()).append(",");
        if (getTrunkInterfaceId() != null)
            sb.append("TrunkInterfaceId: ").append(getTrunkInterfaceId()).append(",");
        if (getInterfaceProtocol() != null)
            sb.append("InterfaceProtocol: ").append(getInterfaceProtocol()).append(",");
        if (getVlanId() != null)
            sb.append("VlanId: ").append(getVlanId()).append(",");
        if (getGreKey() != null)
            sb.append("GreKey: ").append(getGreKey()).append(",");
        if (getTags() != null)
            sb.append("Tags: ").append(getTags());
        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-ec2/src/main/java/com/amazonaws/services/ec2/model/TrunkInterfaceAssociation.java