public GetManagedResourceResult withAutoshifts(java.util.Collection<AutoshiftInResource> autoshifts) {
        setAutoshifts(autoshifts);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-arczonalshift/src/main/java/com/amazonaws/services/arczonalshift/model/GetManagedResourceResult.java