@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCustomEntityTypeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCustomEntityTypeResult() |
Modifier and Type | Method and Description |
---|---|
GetCustomEntityTypeResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getContextWords()
A list of context words if specified when you created the custom pattern.
|
String |
getName()
The name of the custom pattern that you retrieved.
|
String |
getRegexString()
A regular expression string that is used for detecting sensitive data in a custom pattern.
|
int |
hashCode() |
void |
setContextWords(Collection<String> contextWords)
A list of context words if specified when you created the custom pattern.
|
void |
setName(String name)
The name of the custom pattern that you retrieved.
|
void |
setRegexString(String regexString)
A regular expression string that is used for detecting sensitive data in a custom pattern.
|
String |
toString()
Returns a string representation of this object.
|
GetCustomEntityTypeResult |
withContextWords(Collection<String> contextWords)
A list of context words if specified when you created the custom pattern.
|
GetCustomEntityTypeResult |
withContextWords(String... contextWords)
A list of context words if specified when you created the custom pattern.
|
GetCustomEntityTypeResult |
withName(String name)
The name of the custom pattern that you retrieved.
|
GetCustomEntityTypeResult |
withRegexString(String regexString)
A regular expression string that is used for detecting sensitive data in a custom pattern.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setName(String name)
The name of the custom pattern that you retrieved.
name
- The name of the custom pattern that you retrieved.public String getName()
The name of the custom pattern that you retrieved.
public GetCustomEntityTypeResult withName(String name)
The name of the custom pattern that you retrieved.
name
- The name of the custom pattern that you retrieved.public void setRegexString(String regexString)
A regular expression string that is used for detecting sensitive data in a custom pattern.
regexString
- A regular expression string that is used for detecting sensitive data in a custom pattern.public String getRegexString()
A regular expression string that is used for detecting sensitive data in a custom pattern.
public GetCustomEntityTypeResult withRegexString(String regexString)
A regular expression string that is used for detecting sensitive data in a custom pattern.
regexString
- A regular expression string that is used for detecting sensitive data in a custom pattern.public List<String> getContextWords()
A list of context words if specified when you created the custom pattern. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
public void setContextWords(Collection<String> contextWords)
A list of context words if specified when you created the custom pattern. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
contextWords
- A list of context words if specified when you created the custom pattern. If none of these context words
are found within the vicinity of the regular expression the data will not be detected as sensitive data.public GetCustomEntityTypeResult withContextWords(String... contextWords)
A list of context words if specified when you created the custom pattern. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
NOTE: This method appends the values to the existing list (if any). Use
setContextWords(java.util.Collection)
or withContextWords(java.util.Collection)
if you want to
override the existing values.
contextWords
- A list of context words if specified when you created the custom pattern. If none of these context words
are found within the vicinity of the regular expression the data will not be detected as sensitive data.public GetCustomEntityTypeResult withContextWords(Collection<String> contextWords)
A list of context words if specified when you created the custom pattern. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
contextWords
- A list of context words if specified when you created the custom pattern. If none of these context words
are found within the vicinity of the regular expression the data will not be detected as sensitive data.public String toString()
toString
in class Object
Object.toString()
public GetCustomEntityTypeResult clone()