@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3ClassificationScopeExclusionUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Specifies S3 buckets to add or remove from the exclusion list defined by the classification scope for an Amazon Macie account.
Constructor and Description |
---|
S3ClassificationScopeExclusionUpdate() |
Modifier and Type | Method and Description |
---|---|
S3ClassificationScopeExclusionUpdate |
clone() |
boolean |
equals(Object obj) |
List<String> |
getBucketNames()
Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of
strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names
that overwrites all existing names in the list.
|
String |
getOperation()
Specifies how to apply the changes to the exclusion list.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketNames(Collection<String> bucketNames)
Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of
strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names
that overwrites all existing names in the list.
|
void |
setOperation(String operation)
Specifies how to apply the changes to the exclusion list.
|
String |
toString()
Returns a string representation of this object.
|
S3ClassificationScopeExclusionUpdate |
withBucketNames(Collection<String> bucketNames)
Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of
strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names
that overwrites all existing names in the list.
|
S3ClassificationScopeExclusionUpdate |
withBucketNames(String... bucketNames)
Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of
strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names
that overwrites all existing names in the list.
|
S3ClassificationScopeExclusionUpdate |
withOperation(ClassificationScopeUpdateOperation operation)
Specifies how to apply the changes to the exclusion list.
|
S3ClassificationScopeExclusionUpdate |
withOperation(String operation)
Specifies how to apply the changes to the exclusion list.
|
public S3ClassificationScopeExclusionUpdate()
public List<String> getBucketNames()
Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.
public void setBucketNames(Collection<String> bucketNames)
Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.
bucketNames
- Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array
of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of
bucket names that overwrites all existing names in the list. Each string must be the full name of an S3
bucket. Values are case sensitive.public S3ClassificationScopeExclusionUpdate withBucketNames(String... bucketNames)
Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.
NOTE: This method appends the values to the existing list (if any). Use
setBucketNames(java.util.Collection)
or withBucketNames(java.util.Collection)
if you want to
override the existing values.
bucketNames
- Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array
of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of
bucket names that overwrites all existing names in the list. Each string must be the full name of an S3
bucket. Values are case sensitive.public S3ClassificationScopeExclusionUpdate withBucketNames(Collection<String> bucketNames)
Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.
bucketNames
- Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array
of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of
bucket names that overwrites all existing names in the list. Each string must be the full name of an S3
bucket. Values are case sensitive.public void setOperation(String operation)
Specifies how to apply the changes to the exclusion list. Valid values are:
ADD - Append the specified bucket names to the current list.
REMOVE - Remove the specified bucket names from the current list.
REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.
operation
- Specifies how to apply the changes to the exclusion list. Valid values are:
ADD - Append the specified bucket names to the current list.
REMOVE - Remove the specified bucket names from the current list.
REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.
ClassificationScopeUpdateOperation
public String getOperation()
Specifies how to apply the changes to the exclusion list. Valid values are:
ADD - Append the specified bucket names to the current list.
REMOVE - Remove the specified bucket names from the current list.
REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.
ADD - Append the specified bucket names to the current list.
REMOVE - Remove the specified bucket names from the current list.
REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.
ClassificationScopeUpdateOperation
public S3ClassificationScopeExclusionUpdate withOperation(String operation)
Specifies how to apply the changes to the exclusion list. Valid values are:
ADD - Append the specified bucket names to the current list.
REMOVE - Remove the specified bucket names from the current list.
REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.
operation
- Specifies how to apply the changes to the exclusion list. Valid values are:
ADD - Append the specified bucket names to the current list.
REMOVE - Remove the specified bucket names from the current list.
REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.
ClassificationScopeUpdateOperation
public S3ClassificationScopeExclusionUpdate withOperation(ClassificationScopeUpdateOperation operation)
Specifies how to apply the changes to the exclusion list. Valid values are:
ADD - Append the specified bucket names to the current list.
REMOVE - Remove the specified bucket names from the current list.
REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.
operation
- Specifies how to apply the changes to the exclusion list. Valid values are:
ADD - Append the specified bucket names to the current list.
REMOVE - Remove the specified bucket names from the current list.
REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.
ClassificationScopeUpdateOperation
public String toString()
toString
in class Object
Object.toString()
public S3ClassificationScopeExclusionUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.