* The Amazon Resource Name (ARN) of the custom data identifier. *
*/ private String arn; /** ** The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created. *
*/ private java.util.Date createdAt; /** ** Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie * doesn't delete it permanently. Instead, it soft deletes the identifier. *
*/ private Boolean deleted; /** ** The custom description of the custom data identifier. *
*/ private String description; /** ** The unique identifier for the custom data identifier. *
*/ private String id; /** ** An array that lists specific character sequences (ignore words) to exclude from the results. If the text * matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are * case sensitive. *
*/ private java.util.List* An array that lists specific character sequences (keywords), one of which must precede and be within * proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive. *
*/ private java.util.List* The maximum number of characters that can exist between the end of at least one complete character sequence * specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword * precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie * includes the result. Otherwise, Macie excludes the result. *
*/ private Integer maximumMatchDistance; /** ** The custom name of the custom data identifier. *
*/ private String name; /** ** The regular expression (regex) that defines the pattern to match. *
*/ private String regex; /** ** Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number * of occurrences of text that match the custom data identifier's detection criteria. By default, Amazon Macie * creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, * and Macie assigns the MEDIUM severity to those findings. *
*/ private java.util.List* A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data * identifier. *
*/ private java.util.Map* The Amazon Resource Name (ARN) of the custom data identifier. *
* * @param arn * The Amazon Resource Name (ARN) of the custom data identifier. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) of the custom data identifier. *
* * @return The Amazon Resource Name (ARN) of the custom data identifier. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) of the custom data identifier. *
* * @param arn * The Amazon Resource Name (ARN) of the custom data identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withArn(String arn) { setArn(arn); return this; } /** ** The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created. *
* * @param createdAt * The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** ** The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created. *
* * @return The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** ** The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created. *
* * @param createdAt * The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** ** Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie * doesn't delete it permanently. Instead, it soft deletes the identifier. *
* * @param deleted * Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon * Macie doesn't delete it permanently. Instead, it soft deletes the identifier. */ public void setDeleted(Boolean deleted) { this.deleted = deleted; } /** ** Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie * doesn't delete it permanently. Instead, it soft deletes the identifier. *
* * @return Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon * Macie doesn't delete it permanently. Instead, it soft deletes the identifier. */ public Boolean getDeleted() { return this.deleted; } /** ** Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie * doesn't delete it permanently. Instead, it soft deletes the identifier. *
* * @param deleted * Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon * Macie doesn't delete it permanently. Instead, it soft deletes the identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withDeleted(Boolean deleted) { setDeleted(deleted); return this; } /** ** Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie * doesn't delete it permanently. Instead, it soft deletes the identifier. *
* * @return Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon * Macie doesn't delete it permanently. Instead, it soft deletes the identifier. */ public Boolean isDeleted() { return this.deleted; } /** ** The custom description of the custom data identifier. *
* * @param description * The custom description of the custom data identifier. */ public void setDescription(String description) { this.description = description; } /** ** The custom description of the custom data identifier. *
* * @return The custom description of the custom data identifier. */ public String getDescription() { return this.description; } /** ** The custom description of the custom data identifier. *
* * @param description * The custom description of the custom data identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withDescription(String description) { setDescription(description); return this; } /** ** The unique identifier for the custom data identifier. *
* * @param id * The unique identifier for the custom data identifier. */ public void setId(String id) { this.id = id; } /** ** The unique identifier for the custom data identifier. *
* * @return The unique identifier for the custom data identifier. */ public String getId() { return this.id; } /** ** The unique identifier for the custom data identifier. *
* * @param id * The unique identifier for the custom data identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withId(String id) { setId(id); return this; } /** ** An array that lists specific character sequences (ignore words) to exclude from the results. If the text * matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are * case sensitive. *
* * @return An array that lists specific character sequences (ignore words) to exclude from the results. If * the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. * Ignore words are case sensitive. */ public java.util.List* An array that lists specific character sequences (ignore words) to exclude from the results. If the text * matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are * case sensitive. *
* * @param ignoreWords * An array that lists specific character sequences (ignore words) to exclude from the results. If the * text matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore * words are case sensitive. */ public void setIgnoreWords(java.util.Collection* An array that lists specific character sequences (ignore words) to exclude from the results. If the text * matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are * case sensitive. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setIgnoreWords(java.util.Collection)} or {@link #withIgnoreWords(java.util.Collection)} if you want to * override the existing values. *
* * @param ignoreWords * An array that lists specific character sequences (ignore words) to exclude from the results. If the * text matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore * words are case sensitive. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withIgnoreWords(String... ignoreWords) { if (this.ignoreWords == null) { setIgnoreWords(new java.util.ArrayList* An array that lists specific character sequences (ignore words) to exclude from the results. If the text * matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are * case sensitive. *
* * @param ignoreWords * An array that lists specific character sequences (ignore words) to exclude from the results. If the * text matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore * words are case sensitive. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withIgnoreWords(java.util.Collection* An array that lists specific character sequences (keywords), one of which must precede and be within * proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive. *
* * @return An array that lists specific character sequences (keywords), one of which must precede and be * within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case * sensitive. */ public java.util.List* An array that lists specific character sequences (keywords), one of which must precede and be within * proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive. *
* * @param keywords * An array that lists specific character sequences (keywords), one of which must precede and be * within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case * sensitive. */ public void setKeywords(java.util.Collection* An array that lists specific character sequences (keywords), one of which must precede and be within * proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setKeywords(java.util.Collection)} or {@link #withKeywords(java.util.Collection)} if you want to override * the existing values. *
* * @param keywords * An array that lists specific character sequences (keywords), one of which must precede and be * within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case * sensitive. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withKeywords(String... keywords) { if (this.keywords == null) { setKeywords(new java.util.ArrayList* An array that lists specific character sequences (keywords), one of which must precede and be within * proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive. *
* * @param keywords * An array that lists specific character sequences (keywords), one of which must precede and be * within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case * sensitive. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withKeywords(java.util.Collection* The maximum number of characters that can exist between the end of at least one complete character sequence * specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword * precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie * includes the result. Otherwise, Macie excludes the result. *
* * @param maximumMatchDistance * The maximum number of characters that can exist between the end of at least one complete character * sequence specified by the keywords array and the end of the text that matches the regex pattern. If a * complete keyword precedes all the text that matches the pattern and the keyword is within the specified * distance, Amazon Macie includes the result. Otherwise, Macie excludes the result. */ public void setMaximumMatchDistance(Integer maximumMatchDistance) { this.maximumMatchDistance = maximumMatchDistance; } /** ** The maximum number of characters that can exist between the end of at least one complete character sequence * specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword * precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie * includes the result. Otherwise, Macie excludes the result. *
* * @return The maximum number of characters that can exist between the end of at least one complete character * sequence specified by the keywords array and the end of the text that matches the regex pattern. If a * complete keyword precedes all the text that matches the pattern and the keyword is within the specified * distance, Amazon Macie includes the result. Otherwise, Macie excludes the result. */ public Integer getMaximumMatchDistance() { return this.maximumMatchDistance; } /** ** The maximum number of characters that can exist between the end of at least one complete character sequence * specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword * precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie * includes the result. Otherwise, Macie excludes the result. *
* * @param maximumMatchDistance * The maximum number of characters that can exist between the end of at least one complete character * sequence specified by the keywords array and the end of the text that matches the regex pattern. If a * complete keyword precedes all the text that matches the pattern and the keyword is within the specified * distance, Amazon Macie includes the result. Otherwise, Macie excludes the result. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withMaximumMatchDistance(Integer maximumMatchDistance) { setMaximumMatchDistance(maximumMatchDistance); return this; } /** ** The custom name of the custom data identifier. *
* * @param name * The custom name of the custom data identifier. */ public void setName(String name) { this.name = name; } /** ** The custom name of the custom data identifier. *
* * @return The custom name of the custom data identifier. */ public String getName() { return this.name; } /** ** The custom name of the custom data identifier. *
* * @param name * The custom name of the custom data identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withName(String name) { setName(name); return this; } /** ** The regular expression (regex) that defines the pattern to match. *
* * @param regex * The regular expression (regex) that defines the pattern to match. */ public void setRegex(String regex) { this.regex = regex; } /** ** The regular expression (regex) that defines the pattern to match. *
* * @return The regular expression (regex) that defines the pattern to match. */ public String getRegex() { return this.regex; } /** ** The regular expression (regex) that defines the pattern to match. *
* * @param regex * The regular expression (regex) that defines the pattern to match. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withRegex(String regex) { setRegex(regex); return this; } /** ** Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number * of occurrences of text that match the custom data identifier's detection criteria. By default, Amazon Macie * creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, * and Macie assigns the MEDIUM severity to those findings. *
* * @return Specifies the severity that's assigned to findings that the custom data identifier produces, based on the * number of occurrences of text that match the custom data identifier's detection criteria. By default, * Amazon Macie creates findings for S3 objects that contain at least one occurrence of text that matches * the detection criteria, and Macie assigns the MEDIUM severity to those findings. */ public java.util.List* Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number * of occurrences of text that match the custom data identifier's detection criteria. By default, Amazon Macie * creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, * and Macie assigns the MEDIUM severity to those findings. *
* * @param severityLevels * Specifies the severity that's assigned to findings that the custom data identifier produces, based on the * number of occurrences of text that match the custom data identifier's detection criteria. By default, * Amazon Macie creates findings for S3 objects that contain at least one occurrence of text that matches the * detection criteria, and Macie assigns the MEDIUM severity to those findings. */ public void setSeverityLevels(java.util.Collection* Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number * of occurrences of text that match the custom data identifier's detection criteria. By default, Amazon Macie * creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, * and Macie assigns the MEDIUM severity to those findings. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSeverityLevels(java.util.Collection)} or {@link #withSeverityLevels(java.util.Collection)} if you want * to override the existing values. *
* * @param severityLevels * Specifies the severity that's assigned to findings that the custom data identifier produces, based on the * number of occurrences of text that match the custom data identifier's detection criteria. By default, * Amazon Macie creates findings for S3 objects that contain at least one occurrence of text that matches the * detection criteria, and Macie assigns the MEDIUM severity to those findings. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withSeverityLevels(SeverityLevel... severityLevels) { if (this.severityLevels == null) { setSeverityLevels(new java.util.ArrayList* Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number * of occurrences of text that match the custom data identifier's detection criteria. By default, Amazon Macie * creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, * and Macie assigns the MEDIUM severity to those findings. *
* * @param severityLevels * Specifies the severity that's assigned to findings that the custom data identifier produces, based on the * number of occurrences of text that match the custom data identifier's detection criteria. By default, * Amazon Macie creates findings for S3 objects that contain at least one occurrence of text that matches the * detection criteria, and Macie assigns the MEDIUM severity to those findings. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withSeverityLevels(java.util.Collection* A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data * identifier. *
* * @return A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom * data identifier. */ public java.util.Map* A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data * identifier. *
* * @param tags * A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom * data identifier. */ public void setTags(java.util.Map* A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data * identifier. *
* * @param tags * A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom * data identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public GetCustomDataIdentifierResult withTags(java.util.Map