@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBucketLifecycleConfigurationResult extends AmazonWebServiceResult<S3ControlResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetBucketLifecycleConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
GetBucketLifecycleConfigurationResult |
clone() |
boolean |
equals(Object obj) |
List<LifecycleRule> |
getRules()
Container for the lifecycle rule of the Outposts bucket.
|
int |
hashCode() |
void |
setRules(Collection<LifecycleRule> rules)
Container for the lifecycle rule of the Outposts bucket.
|
String |
toString()
Returns a string representation of this object.
|
GetBucketLifecycleConfigurationResult |
withRules(Collection<LifecycleRule> rules)
Container for the lifecycle rule of the Outposts bucket.
|
GetBucketLifecycleConfigurationResult |
withRules(LifecycleRule... rules)
Container for the lifecycle rule of the Outposts bucket.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetBucketLifecycleConfigurationResult()
public List<LifecycleRule> getRules()
Container for the lifecycle rule of the Outposts bucket.
public void setRules(Collection<LifecycleRule> rules)
Container for the lifecycle rule of the Outposts bucket.
rules
- Container for the lifecycle rule of the Outposts bucket.public GetBucketLifecycleConfigurationResult withRules(LifecycleRule... rules)
Container for the lifecycle rule of the Outposts bucket.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
or withRules(java.util.Collection)
if you want to override the
existing values.
rules
- Container for the lifecycle rule of the Outposts bucket.public GetBucketLifecycleConfigurationResult withRules(Collection<LifecycleRule> rules)
Container for the lifecycle rule of the Outposts bucket.
rules
- Container for the lifecycle rule of the Outposts bucket.public String toString()
toString
in class Object
Object.toString()
public GetBucketLifecycleConfigurationResult clone()