@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourceProfileDetectionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResourceProfileDetectionsResult() |
Modifier and Type | Method and Description |
---|---|
ListResourceProfileDetectionsResult |
clone() |
boolean |
equals(Object obj) |
List<Detection> |
getDetections()
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket.
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
setDetections(Collection<Detection> detections)
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket.
|
void |
setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
toString()
Returns a string representation of this object.
|
ListResourceProfileDetectionsResult |
withDetections(Collection<Detection> detections)
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket.
|
ListResourceProfileDetectionsResult |
withDetections(Detection... detections)
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket.
|
ListResourceProfileDetectionsResult |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Detection> getDetections()
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
public void setDetections(Collection<Detection> detections)
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
detections
- An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each
object reports the number of occurrences of the specified type and provides information about the custom
data identifier or managed data identifier that detected the data.public ListResourceProfileDetectionsResult withDetections(Detection... detections)
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
NOTE: This method appends the values to the existing list (if any). Use
setDetections(java.util.Collection)
or withDetections(java.util.Collection)
if you want to
override the existing values.
detections
- An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each
object reports the number of occurrences of the specified type and provides information about the custom
data identifier or managed data identifier that detected the data.public ListResourceProfileDetectionsResult withDetections(Collection<Detection> detections)
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
detections
- An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each
object reports the number of occurrences of the specified type and provides information about the custom
data identifier or managed data identifier that detected the data.public void setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
public ListResourceProfileDetectionsResult withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String toString()
toString
in class Object
Object.toString()
public ListResourceProfileDetectionsResult clone()