public AssociateResourceRequest withGroupIdentifier(String groupIdentifier) {
        setGroupIdentifier(groupIdentifier);
        return this;
    }
<p>
Specifies the group. You can specify the group name, the ARN, or the group ID as the <code>GroupIdentifier</code>
.
</p>

@param groupIdentifier
       Specifies the group. You can specify the group name, the ARN, or the group ID as the
       <code>GroupIdentifier</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-synthetics/src/main/java/com/amazonaws/services/synthetics/model/AssociateResourceRequest.java