public void setRules ( Map < String , ReplicationRule > rules ) { if ( rules == null ) { throw new IllegalArgumentException ( "Replication rules cannot be null" ) ; } this . rules = new HashMap < String , ReplicationRule > ( rules ) ; }
Sets the replication rules for the Amazon S3 bucket .