@Generated(value="software.amazon.awssdk:codegen") public final 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 |
crawlerSecurityConfiguration()
The name of the
SecurityConfiguration structure to be used by this crawler. |
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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasClassifiers()
Returns true if the Classifiers property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
name()
Name of the new crawler.
|
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.
|
String |
role()
The IAM role or Amazon Resource Name (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()
The policy for the crawler's update and deletion behavior.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateCrawlerRequest.Builder> |
serializableBuilderClass() |
String |
tablePrefix()
The table prefix used for catalog tables that are created.
|
Map<String,String> |
tags()
The tags to use with this crawler request.
|
CrawlerTargets |
targets()
A list of collection of targets to crawl.
|
CreateCrawlerRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
Name of the new crawler.
public String role()
The IAM role or Amazon Resource Name (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 boolean hasClassifiers()
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasClassifiers() to see if a value was sent in this field.
public String tablePrefix()
The table prefix used for catalog tables that are created.
public SchemaChangePolicy schemaChangePolicy()
The policy for the crawler's update and deletion behavior.
public 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.
public 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.
public String crawlerSecurityConfiguration()
The name of the SecurityConfiguration structure to be used by this crawler.
SecurityConfiguration structure to be used by this crawler.public boolean hasTags()
public 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 AWS Glue, see AWS Tags in AWS Glue in the developer guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public CreateCrawlerRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateCrawlerRequest.Builder,CreateCrawlerRequest>toBuilder in class GlueRequestpublic static CreateCrawlerRequest.Builder builder()
public static Class<? extends CreateCrawlerRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.