public GetRotationResult withContactIds(String... contactIds) {
        if (this.contactIds == null) {
            setContactIds(new java.util.ArrayList<String>(contactIds.length));
        }
        for (String ele : contactIds) {
            this.contactIds.add(ele);
        }
        return this;
    }
<p>
The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setContactIds(java.util.Collection)} or {@link #withContactIds(java.util.Collection)} if you want to
override the existing values.
</p>

@param contactIds
       The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssmcontacts/src/main/java/com/amazonaws/services/ssmcontacts/model/GetRotationResult.java