* Container for the lifecycle rule of the Outposts bucket. *
*/ private java.util.List* Container for the lifecycle rule of the Outposts bucket. *
* * @return Container for the lifecycle rule of the Outposts bucket. */ public java.util.List* Container for the lifecycle rule of the Outposts bucket. *
* * @param rules * Container for the lifecycle rule of the Outposts bucket. */ public void setRules(java.util.Collection* Container for the lifecycle rule of the Outposts bucket. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setRules(java.util.Collection)} or {@link #withRules(java.util.Collection)} if you want to override the * existing values. *
* * @param rules * Container for the lifecycle rule of the Outposts bucket. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBucketLifecycleConfigurationResult withRules(LifecycleRule... rules) { if (this.rules == null) { setRules(new java.util.ArrayList* Container for the lifecycle rule of the Outposts bucket. *
* * @param rules * Container for the lifecycle rule of the Outposts bucket. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBucketLifecycleConfigurationResult withRules(java.util.Collection