public CreateAccountAssignmentRequest withTargetId(String targetId) {
        setTargetId(targetId);
        return this;
    }
<p>
TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
</p>

@param targetId
       TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssoadmin/src/main/java/com/amazonaws/services/ssoadmin/model/CreateAccountAssignmentRequest.java