public void setAutoshifts(java.util.Collection<AutoshiftInResource> autoshifts) {
        if (autoshifts == null) {
            this.autoshifts = null;
            return;
        }

        this.autoshifts = new java.util.ArrayList<AutoshiftInResource>(autoshifts);
    }
<p>
An array of the autoshifts that are active for the resource.
</p>

@param autoshifts
       An array of the autoshifts that are active for the resource.
aws-java-sdk-arczonalshift/src/main/java/com/amazonaws/services/arczonalshift/model/GetManagedResourceResult.java