public void setSpaces(java.util.Collection<SpaceData> spaces) {
        if (spaces == null) {
            this.spaces = null;
            return;
        }

        this.spaces = new java.util.ArrayList<SpaceData>(spaces);
    }
<p>
An array of structures that contain some information about the private re:Posts in the account.
</p>

@param spaces
       An array of structures that contain some information about the private re:Posts in the account.
aws-java-sdk-repostspace/src/main/java/com/amazonaws/services/repostspace/model/ListSpacesResult.java