@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 |
addTagsEntry(String key,
String value) |
CreateCrawlerRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
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 classifiers that the user has registered.
|
String |
getConfiguration()
The crawler configuration information.
|
String |
getCrawlerSecurityConfiguration()
The name of the
SecurityConfiguration structure to be used by this crawler. |
String |
getDatabaseName()
The AWS Glue database where results are written, 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 IAM role or Amazon Resource Name (ARN) of an IAM role used by the new crawler to access customer resources.
|
String |
getSchedule()
A
cron expression used to specify the schedule. |
SchemaChangePolicy |
getSchemaChangePolicy()
The policy for the crawler's update and deletion behavior.
|
String |
getTablePrefix()
The table prefix used for catalog tables that are created.
|
Map<String,String> |
getTags()
The tags to use with this crawler request.
|
CrawlerTargets |
getTargets()
A list of collection of targets to crawl.
|
int |
hashCode() |
void |
setClassifiers(Collection<String> classifiers)
A list of custom classifiers that the user has registered.
|
void |
setConfiguration(String configuration)
The crawler configuration information.
|
void |
setCrawlerSecurityConfiguration(String crawlerSecurityConfiguration)
The name of the
SecurityConfiguration structure to be used by this crawler. |
void |
setDatabaseName(String databaseName)
The AWS Glue database where results are written, 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 IAM role or Amazon Resource Name (ARN) of an IAM role used by the new crawler to access customer resources.
|
void |
setSchedule(String schedule)
A
cron expression used to specify the schedule. |
void |
setSchemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
The policy for the crawler's update and deletion behavior.
|
void |
setTablePrefix(String tablePrefix)
The table prefix used for catalog tables that are created.
|
void |
setTags(Map<String,String> tags)
The tags to use with this crawler request.
|
void |
setTargets(CrawlerTargets targets)
A list of collection of targets to crawl.
|
String |
toString()
Returns a string representation of this object.
|
CreateCrawlerRequest |
withClassifiers(Collection<String> classifiers)
A list of custom classifiers that the user has registered.
|
CreateCrawlerRequest |
withClassifiers(String... classifiers)
A list of custom classifiers that the user has registered.
|
CreateCrawlerRequest |
withConfiguration(String configuration)
The crawler configuration information.
|
CreateCrawlerRequest |
withCrawlerSecurityConfiguration(String crawlerSecurityConfiguration)
The name of the
SecurityConfiguration structure to be used by this crawler. |
CreateCrawlerRequest |
withDatabaseName(String databaseName)
The AWS Glue database where results are written, 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 IAM role or Amazon Resource Name (ARN) of an IAM role used by the new crawler to access customer resources.
|
CreateCrawlerRequest |
withSchedule(String schedule)
A
cron expression used to specify the schedule. |
CreateCrawlerRequest |
withSchemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
The policy for the crawler's update and deletion behavior.
|
CreateCrawlerRequest |
withTablePrefix(String tablePrefix)
The table prefix used for catalog tables that are created.
|
CreateCrawlerRequest |
withTags(Map<String,String> tags)
The tags to use with this crawler request.
|
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, withRequestCredentialsProvider, 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.
public CreateCrawlerRequest withName(String name)
Name of the new crawler.
name
- Name of the new crawler.public void setRole(String role)
The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new crawler to access customer resources.
role
- The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new crawler to access customer
resources.public String getRole()
The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new crawler to access customer resources.
public CreateCrawlerRequest withRole(String role)
The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new crawler to access customer resources.
role
- The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new crawler to access customer
resources.public void setDatabaseName(String databaseName)
The AWS Glue database where results are written, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
databaseName
- The AWS Glue database where results are written, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.public String getDatabaseName()
The AWS Glue database where results are written, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
arn:aws:daylight:us-east-1::database/sometable/*
.public CreateCrawlerRequest withDatabaseName(String databaseName)
The AWS Glue database where results are written, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
databaseName
- The AWS Glue database where results are written, 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.
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 used to specify the schedule. For more information, see Time-Based Schedules for
Jobs and Crawlers. For example, to run something every day at 12:15 UTC, specify
cron(15 12 * * ? *)
.
schedule
- A cron
expression used to specify the schedule. For more information, see Time-Based Schedules
for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, specify
cron(15 12 * * ? *)
.public String getSchedule()
A cron
expression used to specify the schedule. For more information, see Time-Based Schedules for
Jobs and Crawlers. For example, to run something every day at 12:15 UTC, specify
cron(15 12 * * ? *)
.
cron
expression used to specify the schedule. For more information, see Time-Based
Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, specify
cron(15 12 * * ? *)
.public CreateCrawlerRequest withSchedule(String schedule)
A cron
expression used to specify the schedule. For more information, see Time-Based Schedules for
Jobs and Crawlers. For example, to run something every day at 12:15 UTC, specify
cron(15 12 * * ? *)
.
schedule
- A cron
expression used to specify the schedule. For more information, see Time-Based Schedules
for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, specify
cron(15 12 * * ? *)
.public List<String> getClassifiers()
A list of custom classifiers that the user has registered. By default, all built-in 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 classifiers that the user has registered. By default, all built-in classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.
classifiers
- A list of custom classifiers that the user has registered. By default, all built-in 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 classifiers that the user has registered. By default, all built-in 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 classifiers that the user has registered. By default, all built-in 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 classifiers that the user has registered. By default, all built-in classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.
classifiers
- A list of custom classifiers that the user has registered. By default, all built-in 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 that are created.
tablePrefix
- The table prefix used for catalog tables that are created.public String getTablePrefix()
The table prefix used for catalog tables that are created.
public CreateCrawlerRequest withTablePrefix(String tablePrefix)
The table prefix used for catalog tables that are created.
tablePrefix
- The table prefix used for catalog tables that are created.public void setSchemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
The policy for the crawler's update and deletion behavior.
schemaChangePolicy
- The policy for the crawler's update and deletion behavior.public SchemaChangePolicy getSchemaChangePolicy()
The policy for the crawler's update and deletion behavior.
public CreateCrawlerRequest withSchemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
The policy for the crawler's update and deletion behavior.
schemaChangePolicy
- The policy for the crawler's update and deletion behavior.public void setConfiguration(String configuration)
The crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Configuring a Crawler.
configuration
- The crawler configuration information. This versioned JSON string allows users to specify aspects of a
crawler's behavior. For more information, see Configuring a Crawler.public String getConfiguration()
The crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Configuring a Crawler.
public CreateCrawlerRequest withConfiguration(String configuration)
The crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Configuring a Crawler.
configuration
- The crawler configuration information. This versioned JSON string allows users to specify aspects of a
crawler's behavior. For more information, see Configuring a Crawler.public void setCrawlerSecurityConfiguration(String crawlerSecurityConfiguration)
The name of the SecurityConfiguration
structure to be used by this crawler.
crawlerSecurityConfiguration
- The name of the SecurityConfiguration
structure to be used by this crawler.public String getCrawlerSecurityConfiguration()
The name of the SecurityConfiguration
structure to be used by this crawler.
SecurityConfiguration
structure to be used by this crawler.public CreateCrawlerRequest withCrawlerSecurityConfiguration(String crawlerSecurityConfiguration)
The name of the SecurityConfiguration
structure to be used by this crawler.
crawlerSecurityConfiguration
- The name of the SecurityConfiguration
structure to be used by this crawler.public Map<String,String> getTags()
The tags to use with this crawler request. You can use tags to limit access to the crawler. For more information, see AWS Tags in AWS Glue.
public void setTags(Map<String,String> tags)
The tags to use with this crawler request. You can use tags to limit access to the crawler. For more information, see AWS Tags in AWS Glue.
tags
- The tags to use with this crawler request. You can use tags to limit access to the crawler. For more
information, see AWS Tags in AWS
Glue.public CreateCrawlerRequest withTags(Map<String,String> tags)
The tags to use with this crawler request. You can use tags to limit access to the crawler. For more information, see AWS Tags in AWS Glue.
tags
- The tags to use with this crawler request. You can use tags to limit access to the crawler. For more
information, see AWS Tags in AWS
Glue.public CreateCrawlerRequest addTagsEntry(String key, String value)
public CreateCrawlerRequest clearTagsEntries()
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.