@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Exclude extends Object implements Serializable, Cloneable
A container for what Amazon S3 Storage Lens will exclude.
Constructor and Description |
---|
Exclude() |
Modifier and Type | Method and Description |
---|---|
Exclude |
clone() |
boolean |
equals(Object obj) |
List<String> |
getBuckets()
A container for the S3 Storage Lens bucket excludes.
|
List<String> |
getRegions()
A container for the S3 Storage Lens Region excludes.
|
int |
hashCode() |
void |
setBuckets(Collection<String> buckets)
A container for the S3 Storage Lens bucket excludes.
|
void |
setRegions(Collection<String> regions)
A container for the S3 Storage Lens Region excludes.
|
String |
toString()
Returns a string representation of this object.
|
Exclude |
withBuckets(Collection<String> buckets)
A container for the S3 Storage Lens bucket excludes.
|
Exclude |
withBuckets(String... buckets)
A container for the S3 Storage Lens bucket excludes.
|
Exclude |
withRegions(Collection<String> regions)
A container for the S3 Storage Lens Region excludes.
|
Exclude |
withRegions(String... regions)
A container for the S3 Storage Lens Region excludes.
|
public List<String> getBuckets()
A container for the S3 Storage Lens bucket excludes.
public void setBuckets(Collection<String> buckets)
A container for the S3 Storage Lens bucket excludes.
buckets
- A container for the S3 Storage Lens bucket excludes.public Exclude withBuckets(String... buckets)
A container for the S3 Storage Lens bucket excludes.
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 excludes.public Exclude withBuckets(Collection<String> buckets)
A container for the S3 Storage Lens bucket excludes.
buckets
- A container for the S3 Storage Lens bucket excludes.public List<String> getRegions()
A container for the S3 Storage Lens Region excludes.
public void setRegions(Collection<String> regions)
A container for the S3 Storage Lens Region excludes.
regions
- A container for the S3 Storage Lens Region excludes.public Exclude withRegions(String... regions)
A container for the S3 Storage Lens Region excludes.
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 excludes.public Exclude withRegions(Collection<String> regions)
A container for the S3 Storage Lens Region excludes.
regions
- A container for the S3 Storage Lens Region excludes.public String toString()
toString
in class Object
Object.toString()