@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCrawlerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCrawlerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCrawlerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getClassifiers()
A list of custom
Classifier names that the user has registered. |
String |
getDatabaseName()
The Glue
Database where results will be stored, such as:
arn:aws:daylight:us-east-1::database/sometable/* . |
String |
getDescription()
A description of the new
Crawler . |
String |
getName()
Name of the new
Crawler . |
String |
getRole()
The AWS ARN of the IAM role used by the new
Crawler to access customer resources. |
String |
getSchedule()
A cron expression that can be used as a Cloudwatch event (see CloudWatch Schedule
Expression Syntax.
|
SchemaChangePolicy |
getSchemaChangePolicy()
Policy for the crawler's update and deletion behavior.
|
String |
getTablePrefix()
The table prefix used for catalog tables created.
|
CrawlerTargets |
getTargets()
A list of collection of targets to crawl.
|
int |
hashCode() |
void |
setClassifiers(Collection<String> classifiers)
A list of custom
Classifier names that the user has registered. |
void |
setDatabaseName(String databaseName)
The Glue
Database where results will be stored, such as:
arn:aws:daylight:us-east-1::database/sometable/* . |
void |
setDescription(String description)
A description of the new
Crawler . |
void |
setName(String name)
Name of the new
Crawler . |
void |
setRole(String role)
The AWS ARN of the IAM role used by the new
Crawler to access customer resources. |
void |
setSchedule(String schedule)
A cron expression that can be used as a Cloudwatch event (see CloudWatch Schedule
Expression Syntax.
|
void |
setSchemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
|
void |
setTablePrefix(String tablePrefix)
The table prefix used for catalog tables created.
|
void |
setTargets(CrawlerTargets targets)
A list of collection of targets to crawl.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateCrawlerRequest |
withClassifiers(Collection<String> classifiers)
A list of custom
Classifier names that the user has registered. |
CreateCrawlerRequest |
withClassifiers(String... classifiers)
A list of custom
Classifier names that the user has registered. |
CreateCrawlerRequest |
withDatabaseName(String databaseName)
The Glue
Database where results will be stored, such as:
arn:aws:daylight:us-east-1::database/sometable/* . |
CreateCrawlerRequest |
withDescription(String description)
A description of the new
Crawler . |
CreateCrawlerRequest |
withName(String name)
Name of the new
Crawler . |
CreateCrawlerRequest |
withRole(String role)
The AWS ARN of the IAM role used by the new
Crawler to access customer resources. |
CreateCrawlerRequest |
withSchedule(String schedule)
A cron expression that can be used as a Cloudwatch event (see CloudWatch Schedule
Expression Syntax.
|
CreateCrawlerRequest |
withSchemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
|
CreateCrawlerRequest |
withTablePrefix(String tablePrefix)
The table prefix used for catalog tables created.
|
CreateCrawlerRequest |
withTargets(CrawlerTargets targets)
A list of collection of targets to crawl.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
Name of the new Crawler
.
name
- Name of the new Crawler
.public String getName()
Name of the new Crawler
.
Crawler
.public CreateCrawlerRequest withName(String name)
Name of the new Crawler
.
name
- Name of the new Crawler
.public void setRole(String role)
The AWS ARN of the IAM role used by the new Crawler
to access customer resources.
role
- The AWS ARN of the IAM role used by the new Crawler
to access customer resources.public String getRole()
The AWS ARN of the IAM role used by the new Crawler
to access customer resources.
Crawler
to access customer resources.public CreateCrawlerRequest withRole(String role)
The AWS ARN of the IAM role used by the new Crawler
to access customer resources.
role
- The AWS ARN of the IAM role used by the new Crawler
to access customer resources.public void setDatabaseName(String databaseName)
The Glue Database
where results will be stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
databaseName
- The Glue Database
where results will be stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.public String getDatabaseName()
The Glue Database
where results will be stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
Database
where results will be stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.public CreateCrawlerRequest withDatabaseName(String databaseName)
The Glue Database
where results will be stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
databaseName
- The Glue Database
where results will be stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.public void setDescription(String description)
A description of the new Crawler
.
description
- A description of the new Crawler
.public String getDescription()
A description of the new Crawler
.
Crawler
.public CreateCrawlerRequest withDescription(String description)
A description of the new Crawler
.
description
- A description of the new Crawler
.public void setTargets(CrawlerTargets targets)
A list of collection of targets to crawl.
targets
- A list of collection of targets to crawl.public CrawlerTargets getTargets()
A list of collection of targets to crawl.
public CreateCrawlerRequest withTargets(CrawlerTargets targets)
A list of collection of targets to crawl.
targets
- A list of collection of targets to crawl.public void setSchedule(String schedule)
A cron expression that can be used as a Cloudwatch event (see CloudWatch Schedule
Expression Syntax. For example, to run every day at 12:15 UTC, specify: cron(15 12 * * ? *)
.
schedule
- A cron expression that can be used as a Cloudwatch event (see CloudWatch Schedule
Expression Syntax. For example, to run every day at 12:15 UTC, specify:
cron(15 12 * * ? *)
.public String getSchedule()
A cron expression that can be used as a Cloudwatch event (see CloudWatch Schedule
Expression Syntax. For example, to run every day at 12:15 UTC, specify: cron(15 12 * * ? *)
.
cron(15 12 * * ? *)
.public CreateCrawlerRequest withSchedule(String schedule)
A cron expression that can be used as a Cloudwatch event (see CloudWatch Schedule
Expression Syntax. For example, to run every day at 12:15 UTC, specify: cron(15 12 * * ? *)
.
schedule
- A cron expression that can be used as a Cloudwatch event (see CloudWatch Schedule
Expression Syntax. For example, to run every day at 12:15 UTC, specify:
cron(15 12 * * ? *)
.public List<String> getClassifiers()
A list of custom Classifier
names that the user has registered. By default, all AWS classifiers are
included in a crawl, but these custom classifiers always override the default classifiers for a given
classification.
Classifier
names that the user has registered. By default, all AWS
classifiers are included in a crawl, but these custom classifiers always override the default classifiers
for a given classification.public void setClassifiers(Collection<String> classifiers)
A list of custom Classifier
names that the user has registered. By default, all AWS classifiers are
included in a crawl, but these custom classifiers always override the default classifiers for a given
classification.
classifiers
- A list of custom Classifier
names that the user has registered. By default, all AWS
classifiers are included in a crawl, but these custom classifiers always override the default classifiers
for a given classification.public CreateCrawlerRequest withClassifiers(String... classifiers)
A list of custom Classifier
names that the user has registered. By default, all AWS classifiers are
included in a crawl, but these custom classifiers always override the default classifiers for a given
classification.
NOTE: This method appends the values to the existing list (if any). Use
setClassifiers(java.util.Collection)
or withClassifiers(java.util.Collection)
if you want to
override the existing values.
classifiers
- A list of custom Classifier
names that the user has registered. By default, all AWS
classifiers are included in a crawl, but these custom classifiers always override the default classifiers
for a given classification.public CreateCrawlerRequest withClassifiers(Collection<String> classifiers)
A list of custom Classifier
names that the user has registered. By default, all AWS classifiers are
included in a crawl, but these custom classifiers always override the default classifiers for a given
classification.
classifiers
- A list of custom Classifier
names that the user has registered. By default, all AWS
classifiers are included in a crawl, but these custom classifiers always override the default classifiers
for a given classification.public void setTablePrefix(String tablePrefix)
The table prefix used for catalog tables created.
tablePrefix
- The table prefix used for catalog tables created.public String getTablePrefix()
The table prefix used for catalog tables created.
public CreateCrawlerRequest withTablePrefix(String tablePrefix)
The table prefix used for catalog tables created.
tablePrefix
- The table prefix used for catalog tables created.public void setSchemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
schemaChangePolicy
- Policy for the crawler's update and deletion behavior.public SchemaChangePolicy getSchemaChangePolicy()
Policy for the crawler's update and deletion behavior.
public CreateCrawlerRequest withSchemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
schemaChangePolicy
- Policy for the crawler's update and deletion behavior.public String toString()
toString
in class Object
Object.toString()
public CreateCrawlerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.