@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Include extends Object implements Serializable, Cloneable
A container for what Amazon S3 Storage Lens configuration includes.
Constructor and Description |
---|
Include() |
Modifier and Type | Method and Description |
---|---|
Include |
clone() |
boolean |
equals(Object obj) |
List<String> |
getBuckets()
A container for the S3 Storage Lens bucket includes.
|
List<String> |
getRegions()
A container for the S3 Storage Lens Region includes.
|
int |
hashCode() |
void |
setBuckets(Collection<String> buckets)
A container for the S3 Storage Lens bucket includes.
|
void |
setRegions(Collection<String> regions)
A container for the S3 Storage Lens Region includes.
|
String |
toString()
Returns a string representation of this object.
|
Include |
withBuckets(Collection<String> buckets)
A container for the S3 Storage Lens bucket includes.
|
Include |
withBuckets(String... buckets)
A container for the S3 Storage Lens bucket includes.
|
Include |
withRegions(Collection<String> regions)
A container for the S3 Storage Lens Region includes.
|
Include |
withRegions(String... regions)
A container for the S3 Storage Lens Region includes.
|
public List<String> getBuckets()
A container for the S3 Storage Lens bucket includes.
public void setBuckets(Collection<String> buckets)
A container for the S3 Storage Lens bucket includes.
buckets
- A container for the S3 Storage Lens bucket includes.public Include withBuckets(String... buckets)
A container for the S3 Storage Lens bucket includes.
NOTE: This method appends the values to the existing list (if any). Use
setBuckets(java.util.Collection)
or withBuckets(java.util.Collection)
if you want to override
the existing values.
buckets
- A container for the S3 Storage Lens bucket includes.public Include withBuckets(Collection<String> buckets)
A container for the S3 Storage Lens bucket includes.
buckets
- A container for the S3 Storage Lens bucket includes.public List<String> getRegions()
A container for the S3 Storage Lens Region includes.
public void setRegions(Collection<String> regions)
A container for the S3 Storage Lens Region includes.
regions
- A container for the S3 Storage Lens Region includes.public Include withRegions(String... regions)
A container for the S3 Storage Lens Region includes.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection)
or withRegions(java.util.Collection)
if you want to override
the existing values.
regions
- A container for the S3 Storage Lens Region includes.public Include withRegions(Collection<String> regions)
A container for the S3 Storage Lens Region includes.
regions
- A container for the S3 Storage Lens Region includes.public String toString()
toString
in class Object
Object.toString()