@Generated(value="software.amazon.awssdk:codegen") public class CreateCrawlerRequest extends GlueRequest implements ToCopyableBuilder<CreateCrawlerRequest.Builder,CreateCrawlerRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateCrawlerRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateCrawlerRequest.Builder |
builder() |
List<String> |
classifiers()
A list of custom classifiers that the user has registered.
|
String |
configuration()
Crawler configuration information.
|
String |
databaseName()
The AWS Glue database where results are written, such as:
arn:aws:daylight:us-east-1::database/sometable/* . |
String |
description()
A description of the new crawler.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
name()
Name of the new crawler.
|
String |
role()
The IAM role (or ARN of an IAM role) used by the new crawler to access customer resources.
|
String |
schedule()
A
cron expression used to specify the schedule (see Time-Based Schedules for
Jobs and Crawlers. |
SchemaChangePolicy |
schemaChangePolicy()
Policy for the crawler's update and deletion behavior.
|
static Class<? extends CreateCrawlerRequest.Builder> |
serializableBuilderClass() |
String |
tablePrefix()
The table prefix used for catalog tables that are created.
|
CrawlerTargets |
targets()
A list of collection of targets to crawl.
|
CreateCrawlerRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String name()
Name of the new crawler.
public String role()
The IAM role (or ARN of an IAM role) used by the new crawler to access customer resources.
public String databaseName()
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 String description()
A description of the new crawler.
public CrawlerTargets targets()
A list of collection of targets to crawl.
public 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 * * ? *)
.
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> classifiers()
A list of custom classifiers 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String tablePrefix()
The table prefix used for catalog tables that are created.
public SchemaChangePolicy schemaChangePolicy()
Policy for the crawler's update and deletion behavior.
public String configuration()
Crawler configuration information. This versioned JSON string allows users to specify aspects of a Crawler's behavior.
You can use this field to force partitions to inherit metadata such as classification, input format, output format, serde information, and schema from their parent table, rather than detect this information separately for each partition.
You can use this field to force partitions to inherit metadata such as classification, input format, output format, serde information, and schema from their parent table, rather than detect this information separately for each partition.
public CreateCrawlerRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateCrawlerRequest.Builder,CreateCrawlerRequest>
toBuilder
in class GlueRequest
public static CreateCrawlerRequest.Builder builder()
public static Class<? extends CreateCrawlerRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.