@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()
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 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 Amazon Resource Name (ARN) of an IAM role that is 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.
|
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)
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 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 Amazon Resource Name (ARN) of an IAM role that is 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 |
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)
The 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 Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer
resources.
|
UpdateCrawlerRequest |
withSchedule(String schedule)
A
cron expression used to specify the schedule. |
UpdateCrawlerRequest |
withSchemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
The 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, 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 Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.
role
- The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access
customer resources.public String getRole()
The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.
public UpdateCrawlerRequest withRole(String role)
The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.
role
- The IAM role or Amazon Resource Name (ARN) of an IAM role that is 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. 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 UpdateCrawlerRequest 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 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)
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 UpdateCrawlerRequest 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 UpdateCrawlerRequest 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 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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.