@Generated(value="software.amazon.awssdk:codegen") public final class CreateDataSourceRequest extends DataZoneRequest implements ToCopyableBuilder<CreateDataSourceRequest.Builder,CreateDataSourceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDataSourceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<FormInput> |
assetFormsInput()
The metadata forms that are to be attached to the assets that this data source works with.
|
static CreateDataSourceRequest.Builder |
builder() |
String |
clientToken()
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
|
DataSourceConfigurationInput |
configuration()
Specifies the configuration of the data source.
|
String |
description()
The description of the data source.
|
String |
domainIdentifier()
The ID of the Amazon DataZone domain where the data source is created.
|
EnableSetting |
enableSetting()
Specifies whether the data source is enabled.
|
String |
enableSettingAsString()
Specifies whether the data source is enabled.
|
String |
environmentIdentifier()
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAssetFormsInput()
For responses, this returns true if the service returned a value for the AssetFormsInput property.
|
int |
hashCode() |
String |
name()
The name of the data source.
|
String |
projectIdentifier()
The identifier of the Amazon DataZone project in which you want to add this data source.
|
Boolean |
publishOnImport()
Specifies whether the assets that this data source creates in the inventory are to be also automatically
published to the catalog.
|
RecommendationConfiguration |
recommendation()
Specifies whether the business name generation is to be enabled for this data source.
|
ScheduleConfiguration |
schedule()
The schedule of the data source runs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDataSourceRequest.Builder> |
serializableBuilderClass() |
CreateDataSourceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of the data source.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAssetFormsInput()
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<FormInput> assetFormsInput()
The metadata forms that are to be attached to the assets that this data source works with.
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 hasAssetFormsInput() method.
public final String clientToken()
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
public final DataSourceConfigurationInput configuration()
Specifies the configuration of the data source. It can be set to either glueRunConfiguration or
redshiftRunConfiguration.
glueRunConfiguration
or redshiftRunConfiguration.public final String description()
The description of the data source.
public final String domainIdentifier()
The ID of the Amazon DataZone domain where the data source is created.
public final EnableSetting enableSetting()
Specifies whether the data source is enabled.
If the service returns an enum value that is not available in the current SDK version, enableSetting
will return EnableSetting.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
enableSettingAsString().
EnableSettingpublic final String enableSettingAsString()
Specifies whether the data source is enabled.
If the service returns an enum value that is not available in the current SDK version, enableSetting
will return EnableSetting.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
enableSettingAsString().
EnableSettingpublic final String environmentIdentifier()
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
public final String name()
The name of the data source.
public final String projectIdentifier()
The identifier of the Amazon DataZone project in which you want to add this data source.
public final Boolean publishOnImport()
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
public final RecommendationConfiguration recommendation()
Specifies whether the business name generation is to be enabled for this data source.
public final ScheduleConfiguration schedule()
The schedule of the data source runs.
public final String type()
The type of the data source.
public CreateDataSourceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDataSourceRequest.Builder,CreateDataSourceRequest>toBuilder in class DataZoneRequestpublic static CreateDataSourceRequest.Builder builder()
public static Class<? extends CreateDataSourceRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.