public ReplicationFilter getFilter() {
        return filter;
    }
Returns a {@link ReplicationFilter} that is used to identify objects that a CRR Rule applies to.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/ReplicationRule.java