@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)
Add a single Tags entry
|
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()
Crawler configuration information.
|
String |
getCrawlerSecurityConfiguration()
The name of the
SecurityConfiguration structure to be used by this crawler. |
String |
getDatabaseName()
The Glue database where results are written, such as:
arn:aws:daylight:us-east-1::database/sometable/* . |
String |
getDescription()
A description of the new crawler.
|
LakeFormationConfiguration |
getLakeFormationConfiguration()
Specifies Lake Formation configuration settings for the crawler.
|
LineageConfiguration |
getLineageConfiguration()
Specifies data lineage configuration settings for the crawler.
|
String |
getName()
Name of the new crawler.
|
RecrawlPolicy |
getRecrawlPolicy()
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since
the last crawler run.
|
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 (see Time-Based Schedules for
Jobs and Crawlers. |
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)
Crawler configuration information.
|
void |
setCrawlerSecurityConfiguration(String crawlerSecurityConfiguration)
The name of the
SecurityConfiguration structure to be used by this crawler. |
void |
setDatabaseName(String databaseName)
The 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 |
setLakeFormationConfiguration(LakeFormationConfiguration lakeFormationConfiguration)
Specifies Lake Formation configuration settings for the crawler.
|
void |
setLineageConfiguration(LineageConfiguration lineageConfiguration)
Specifies data lineage configuration settings for the crawler.
|
void |
setName(String name)
Name of the new crawler.
|
void |
setRecrawlPolicy(RecrawlPolicy recrawlPolicy)
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since
the last crawler run.
|
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 (see Time-Based Schedules for
Jobs and Crawlers. |
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)
Crawler configuration information.
|
CreateCrawlerRequest |
withCrawlerSecurityConfiguration(String crawlerSecurityConfiguration)
The name of the
SecurityConfiguration structure to be used by this crawler. |
CreateCrawlerRequest |
withDatabaseName(String databaseName)
The 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 |
withLakeFormationConfiguration(LakeFormationConfiguration lakeFormationConfiguration)
Specifies Lake Formation configuration settings for the crawler.
|
CreateCrawlerRequest |
withLineageConfiguration(LineageConfiguration lineageConfiguration)
Specifies data lineage configuration settings for the crawler.
|
CreateCrawlerRequest |
withName(String name)
Name of the new crawler.
|
CreateCrawlerRequest |
withRecrawlPolicy(RecrawlPolicy recrawlPolicy)
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since
the last crawler run.
|
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 (see Time-Based Schedules for
Jobs and Crawlers. |
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 Glue database where results are written, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
databaseName
- The Glue database where results are written, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.public String getDatabaseName()
The 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 Glue database where results are written, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
databaseName
- The 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 (see Time-Based Schedules for
Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.
schedule
- A cron
expression used to specify the schedule (see Time-Based
Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would
specify: cron(15 12 * * ? *)
.public String getSchedule()
A cron
expression used to specify the schedule (see Time-Based Schedules for
Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.
cron
expression used to specify the schedule (see Time-Based
Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would
specify: cron(15 12 * * ? *)
.public CreateCrawlerRequest withSchedule(String schedule)
A cron
expression used to specify the schedule (see Time-Based Schedules for
Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.
schedule
- A cron
expression used to specify the schedule (see Time-Based
Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would
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 setRecrawlPolicy(RecrawlPolicy recrawlPolicy)
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
recrawlPolicy
- A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were
added since the last crawler run.public RecrawlPolicy getRecrawlPolicy()
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
public CreateCrawlerRequest withRecrawlPolicy(RecrawlPolicy recrawlPolicy)
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
recrawlPolicy
- A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were
added since the last crawler run.public void setLineageConfiguration(LineageConfiguration lineageConfiguration)
Specifies data lineage configuration settings for the crawler.
lineageConfiguration
- Specifies data lineage configuration settings for the crawler.public LineageConfiguration getLineageConfiguration()
Specifies data lineage configuration settings for the crawler.
public CreateCrawlerRequest withLineageConfiguration(LineageConfiguration lineageConfiguration)
Specifies data lineage configuration settings for the crawler.
lineageConfiguration
- Specifies data lineage configuration settings for the crawler.public void setLakeFormationConfiguration(LakeFormationConfiguration lakeFormationConfiguration)
Specifies Lake Formation configuration settings for the crawler.
lakeFormationConfiguration
- Specifies Lake Formation configuration settings for the crawler.public LakeFormationConfiguration getLakeFormationConfiguration()
Specifies Lake Formation configuration settings for the crawler.
public CreateCrawlerRequest withLakeFormationConfiguration(LakeFormationConfiguration lakeFormationConfiguration)
Specifies Lake Formation configuration settings for the crawler.
lakeFormationConfiguration
- Specifies Lake Formation configuration settings for the crawler.public void setConfiguration(String configuration)
Crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Setting crawler configuration options.
configuration
- Crawler configuration information. This versioned JSON string allows users to specify aspects of a
crawler's behavior. For more information, see Setting crawler configuration
options.public String getConfiguration()
Crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Setting crawler configuration options.
public CreateCrawlerRequest withConfiguration(String configuration)
Crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Setting crawler configuration options.
configuration
- Crawler configuration information. This versioned JSON string allows users to specify aspects of a
crawler's behavior. For more information, see Setting crawler configuration
options.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 may use tags to limit access to the crawler. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
public void setTags(Map<String,String> tags)
The tags to use with this crawler request. You may use tags to limit access to the crawler. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
tags
- The tags to use with this crawler request. You may use tags to limit access to the crawler. For more
information about tags in Glue, see Amazon Web Services Tags in Glue
in the developer guide.public CreateCrawlerRequest withTags(Map<String,String> tags)
The tags to use with this crawler request. You may use tags to limit access to the crawler. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
tags
- The tags to use with this crawler request. You may use tags to limit access to the crawler. For more
information about tags in Glue, see Amazon Web Services Tags in Glue
in the developer guide.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()