@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()
The 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.
|
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. |
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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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. 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 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 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.
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 can use tags to limit access to the crawler. For more information, see AWS Tags in AWS Glue.
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 GlueRequest
public static CreateCrawlerRequest.Builder builder()
public static Class<? extends CreateCrawlerRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.