@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCustomEntityTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCustomEntityTypeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCustomEntityTypeRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateCustomEntityTypeRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateCustomEntityTypeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getContextWords()
A list of context words.
|
String |
getName()
A name for the custom pattern that allows it to be retrieved or deleted later.
|
String |
getRegexString()
A regular expression string that is used for detecting sensitive data in a custom pattern.
|
Map<String,String> |
getTags()
A list of tags applied to the custom entity type.
|
int |
hashCode() |
void |
setContextWords(Collection<String> contextWords)
A list of context words.
|
void |
setName(String name)
A name for the custom pattern that allows it to be retrieved or deleted later.
|
void |
setRegexString(String regexString)
A regular expression string that is used for detecting sensitive data in a custom pattern.
|
void |
setTags(Map<String,String> tags)
A list of tags applied to the custom entity type.
|
String |
toString()
Returns a string representation of this object.
|
CreateCustomEntityTypeRequest |
withContextWords(Collection<String> contextWords)
A list of context words.
|
CreateCustomEntityTypeRequest |
withContextWords(String... contextWords)
A list of context words.
|
CreateCustomEntityTypeRequest |
withName(String name)
A name for the custom pattern that allows it to be retrieved or deleted later.
|
CreateCustomEntityTypeRequest |
withRegexString(String regexString)
A regular expression string that is used for detecting sensitive data in a custom pattern.
|
CreateCustomEntityTypeRequest |
withTags(Map<String,String> tags)
A list of tags applied to the custom entity type.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.
name
- A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique
per Amazon Web Services account.public String getName()
A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.
public CreateCustomEntityTypeRequest withName(String name)
A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.
name
- A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique
per Amazon Web Services account.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 CreateCustomEntityTypeRequest 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 none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
If no context words are passed only a regular expression is checked.
If no context words are passed only a regular expression is checked.
public void setContextWords(Collection<String> contextWords)
A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
If no context words are passed only a regular expression is checked.
contextWords
- A list of context words. If none of these context words are found within the vicinity of the regular
expression the data will not be detected as sensitive data.
If no context words are passed only a regular expression is checked.
public CreateCustomEntityTypeRequest withContextWords(String... contextWords)
A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
If no context words are passed only a regular expression is checked.
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 none of these context words are found within the vicinity of the regular
expression the data will not be detected as sensitive data.
If no context words are passed only a regular expression is checked.
public CreateCustomEntityTypeRequest withContextWords(Collection<String> contextWords)
A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
If no context words are passed only a regular expression is checked.
contextWords
- A list of context words. If none of these context words are found within the vicinity of the regular
expression the data will not be detected as sensitive data.
If no context words are passed only a regular expression is checked.
public Map<String,String> getTags()
A list of tags applied to the custom entity type.
public void setTags(Map<String,String> tags)
A list of tags applied to the custom entity type.
tags
- A list of tags applied to the custom entity type.public CreateCustomEntityTypeRequest withTags(Map<String,String> tags)
A list of tags applied to the custom entity type.
tags
- A list of tags applied to the custom entity type.public CreateCustomEntityTypeRequest addTagsEntry(String key, String value)
public CreateCustomEntityTypeRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateCustomEntityTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()