@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 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()
For responses, this returns true if the service returned a value for the Classifiers property.
|
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
LakeFormationConfiguration |
lakeFormationConfiguration()
Specifies Lake Formation configuration settings for the crawler.
|
LineageConfiguration |
lineageConfiguration()
Specifies data lineage configuration settings for the crawler.
|
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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String name()
Name of the new crawler.
public final String role()
The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new crawler to access customer resources.
public final String databaseName()
The 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 final String description()
A description of the new crawler.
public final CrawlerTargets targets()
A list of collection of targets to crawl.
public final 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 final boolean hasClassifiers()
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasClassifiers()
method.
public final String tablePrefix()
The table prefix used for catalog tables that are created.
public final SchemaChangePolicy schemaChangePolicy()
The policy for the crawler's update and deletion behavior.
public final 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 final LineageConfiguration lineageConfiguration()
Specifies data lineage configuration settings for the crawler.
public final LakeFormationConfiguration lakeFormationConfiguration()
Specifies Lake Formation configuration settings for the crawler.
public final String configuration()
Crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Setting crawler configuration options.
public final String crawlerSecurityConfiguration()
The name of the SecurityConfiguration
structure to be used by this crawler.
SecurityConfiguration
structure to be used by this crawler.public final boolean hasTags()
isEmpty()
method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final 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 Glue, see Amazon Web Services Tags in Glue in the developer guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags()
method.
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 final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.