@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRulesetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateRulesetRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateRulesetRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateRulesetRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateRulesetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description of the ruleset.
|
String |
getName()
The name of the ruleset to be created.
|
List<Rule> |
getRules()
A list of rules that are defined with the ruleset.
|
Map<String,String> |
getTags()
Metadata tags to apply to the ruleset.
|
String |
getTargetArn()
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the ruleset.
|
void |
setName(String name)
The name of the ruleset to be created.
|
void |
setRules(Collection<Rule> rules)
A list of rules that are defined with the ruleset.
|
void |
setTags(Map<String,String> tags)
Metadata tags to apply to the ruleset.
|
void |
setTargetArn(String targetArn)
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
|
String |
toString()
Returns a string representation of this object.
|
CreateRulesetRequest |
withDescription(String description)
The description of the ruleset.
|
CreateRulesetRequest |
withName(String name)
The name of the ruleset to be created.
|
CreateRulesetRequest |
withRules(Collection<Rule> rules)
A list of rules that are defined with the ruleset.
|
CreateRulesetRequest |
withRules(Rule... rules)
A list of rules that are defined with the ruleset.
|
CreateRulesetRequest |
withTags(Map<String,String> tags)
Metadata tags to apply to the ruleset.
|
CreateRulesetRequest |
withTargetArn(String targetArn)
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
|
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, withSdkRequestTimeoutpublic void setName(String name)
The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
name - The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-),
period (.), and space.public String getName()
The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
public CreateRulesetRequest withName(String name)
The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
name - The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-),
period (.), and space.public void setDescription(String description)
The description of the ruleset.
description - The description of the ruleset.public String getDescription()
The description of the ruleset.
public CreateRulesetRequest withDescription(String description)
The description of the ruleset.
description - The description of the ruleset.public void setTargetArn(String targetArn)
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
targetArn - The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.public String getTargetArn()
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
public CreateRulesetRequest withTargetArn(String targetArn)
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
targetArn - The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.public List<Rule> getRules()
A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.
public void setRules(Collection<Rule> rules)
A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.
rules - A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a
DataBrew dataset.public CreateRulesetRequest withRules(Rule... rules)
A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection) or withRules(java.util.Collection) if you want to override the
existing values.
rules - A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a
DataBrew dataset.public CreateRulesetRequest withRules(Collection<Rule> rules)
A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.
rules - A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a
DataBrew dataset.public Map<String,String> getTags()
Metadata tags to apply to the ruleset.
public void setTags(Map<String,String> tags)
Metadata tags to apply to the ruleset.
tags - Metadata tags to apply to the ruleset.public CreateRulesetRequest withTags(Map<String,String> tags)
Metadata tags to apply to the ruleset.
tags - Metadata tags to apply to the ruleset.public CreateRulesetRequest addTagsEntry(String key, String value)
public CreateRulesetRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateRulesetRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()