@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCrawlerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateCrawlerRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCrawlerRequest |
clone() |
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 AWS Glue database where results are 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 IAM role (or 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()
Policy for the crawler's update and deletion behavior.
|
String |
getTablePrefix()
The table prefix used for catalog tables that are created.
|
CrawlerTargets |
getTargets()
A list 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 AWS Glue database where results are 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 IAM role (or 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)
Policy for the crawler's update and deletion behavior.
|
void |
setTablePrefix(String tablePrefix)
The table prefix used for catalog tables that are created.
|
void |
setTargets(CrawlerTargets targets)
A list of targets to crawl.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCrawlerRequest |
withClassifiers(Collection<String> classifiers)
A list of custom classifiers that the user has registered.
|
UpdateCrawlerRequest |
withClassifiers(String... classifiers)
A list of custom classifiers that the user has registered.
|
UpdateCrawlerRequest |
withConfiguration(String configuration)
Crawler configuration information.
|
UpdateCrawlerRequest |
withCrawlerSecurityConfiguration(String crawlerSecurityConfiguration)
The name of the SecurityConfiguration structure to be used by this Crawler.
|
UpdateCrawlerRequest |
withDatabaseName(String databaseName)
The AWS Glue database where results are stored, such as:
arn:aws:daylight:us-east-1::database/sometable/* . |
UpdateCrawlerRequest |
withDescription(String description)
A description of the new crawler.
|
UpdateCrawlerRequest |
withName(String name)
Name of the new crawler.
|
UpdateCrawlerRequest |
withRole(String role)
The IAM role (or ARN of an IAM role) used by the new crawler to access customer resources.
|
UpdateCrawlerRequest |
withSchedule(String schedule)
A
cron expression used to specify the schedule (see Time-Based Schedules for
Jobs and Crawlers. |
UpdateCrawlerRequest |
withSchemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
|
UpdateCrawlerRequest |
withTablePrefix(String tablePrefix)
The table prefix used for catalog tables that are created.
|
UpdateCrawlerRequest |
withTargets(CrawlerTargets targets)
A list of targets to crawl.
|
addHandlerContext, copyBaseTo, 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 UpdateCrawlerRequest withName(String name)
Name of the new crawler.
name
- Name of the new crawler.public void setRole(String role)
The IAM role (or ARN of an IAM role) used by the new crawler to access customer resources.
role
- The IAM role (or ARN of an IAM role) used by the new crawler to access customer resources.public String getRole()
The IAM role (or ARN of an IAM role) used by the new crawler to access customer resources.
public UpdateCrawlerRequest withRole(String role)
The IAM role (or ARN of an IAM role) used by the new crawler to access customer resources.
role
- The IAM role (or 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 stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
databaseName
- The AWS Glue database where results are stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.public String getDatabaseName()
The AWS Glue database where results are stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
arn:aws:daylight:us-east-1::database/sometable/*
.public UpdateCrawlerRequest withDatabaseName(String databaseName)
The AWS Glue database where results are stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
databaseName
- The AWS Glue database where results are 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.
public UpdateCrawlerRequest withDescription(String description)
A description of the new crawler.
description
- A description of the new crawler.public void setTargets(CrawlerTargets targets)
A list of targets to crawl.
targets
- A list of targets to crawl.public CrawlerTargets getTargets()
A list of targets to crawl.
public UpdateCrawlerRequest withTargets(CrawlerTargets targets)
A list of targets to crawl.
targets
- A list 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 UpdateCrawlerRequest 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 UpdateCrawlerRequest 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 UpdateCrawlerRequest 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 UpdateCrawlerRequest 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)
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 UpdateCrawlerRequest withSchemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
schemaChangePolicy
- Policy for the crawler's update and deletion behavior.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 Configuring a Crawler.
configuration
- 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()
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 UpdateCrawlerRequest withConfiguration(String configuration)
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
- 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.
public UpdateCrawlerRequest 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 String toString()
toString
in class Object
Object.toString()
public UpdateCrawlerRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2019. All rights reserved.