Class DeleteDataSourceResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.datazone.model.DataZoneResponse
-
- software.amazon.awssdk.services.datazone.model.DeleteDataSourceResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteDataSourceResponse.Builder,DeleteDataSourceResponse>
@Generated("software.amazon.awssdk:codegen") public final class DeleteDataSourceResponse extends DataZoneResponse implements ToCopyableBuilder<DeleteDataSourceResponse.Builder,DeleteDataSourceResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteDataSourceResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FormOutput>assetFormsOutput()The asset data forms associated with this data source.static DeleteDataSourceResponse.Builderbuilder()DataSourceConfigurationOutputconfiguration()The configuration of the data source that is deleted.InstantcreatedAt()The timestamp of when this data source was created.Stringdescription()The description of the data source that is deleted.StringdomainId()The ID of the Amazon DataZone domain in which the data source is deleted.EnableSettingenableSetting()The enable setting of the data source that specifies whether the data source is enabled or disabled.StringenableSettingAsString()The enable setting of the data source that specifies whether the data source is enabled or disabled.StringenvironmentId()The ID of the environemnt associated with this data source.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)DataSourceErrorMessageerrorMessage()Specifies the error message that is returned if the operation cannot be successfully completed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAssetFormsOutput()For responses, this returns true if the service returned a value for the AssetFormsOutput property.inthashCode()Stringid()The ID of the data source that is deleted.InstantlastRunAt()The timestamp of when the data source was last run.DataSourceErrorMessagelastRunErrorMessage()Specifies the error message that is returned if the operation cannot be successfully completed.DataSourceRunStatuslastRunStatus()The status of the last run of this data source.StringlastRunStatusAsString()The status of the last run of this data source.Stringname()The name of the data source that is deleted.StringprojectId()The ID of the project in which this data source exists and from which it's deleted.BooleanpublishOnImport()Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.BooleanretainPermissionsOnRevokeFailure()Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.ScheduleConfigurationschedule()The schedule of runs for this data source.List<SdkField<?>>sdkFields()SelfGrantStatusOutputselfGrantStatus()Specifies the status of the self-granting functionality.static Class<? extends DeleteDataSourceResponse.Builder>serializableBuilderClass()DataSourceStatusstatus()The status of this data source.StringstatusAsString()The status of this data source.DeleteDataSourceResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of this data source.InstantupdatedAt()The timestamp of when this data source was updated.-
Methods inherited from class software.amazon.awssdk.services.datazone.model.DataZoneResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
hasAssetFormsOutput
public final boolean hasAssetFormsOutput()
For responses, this returns true if the service returned a value for the AssetFormsOutput property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
assetFormsOutput
public final List<FormOutput> assetFormsOutput()
The asset data forms associated with this data source.
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
hasAssetFormsOutput()method.- Returns:
- The asset data forms associated with this data source.
-
configuration
public final DataSourceConfigurationOutput configuration()
The configuration of the data source that is deleted.
- Returns:
- The configuration of the data source that is deleted.
-
createdAt
public final Instant createdAt()
The timestamp of when this data source was created.
- Returns:
- The timestamp of when this data source was created.
-
description
public final String description()
The description of the data source that is deleted.
- Returns:
- The description of the data source that is deleted.
-
domainId
public final String domainId()
The ID of the Amazon DataZone domain in which the data source is deleted.
- Returns:
- The ID of the Amazon DataZone domain in which the data source is deleted.
-
enableSetting
public final EnableSetting enableSetting()
The enable setting of the data source that specifies whether the data source is enabled or disabled.
If the service returns an enum value that is not available in the current SDK version,
enableSettingwill returnEnableSetting.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromenableSettingAsString().- Returns:
- The enable setting of the data source that specifies whether the data source is enabled or disabled.
- See Also:
EnableSetting
-
enableSettingAsString
public final String enableSettingAsString()
The enable setting of the data source that specifies whether the data source is enabled or disabled.
If the service returns an enum value that is not available in the current SDK version,
enableSettingwill returnEnableSetting.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromenableSettingAsString().- Returns:
- The enable setting of the data source that specifies whether the data source is enabled or disabled.
- See Also:
EnableSetting
-
environmentId
public final String environmentId()
The ID of the environemnt associated with this data source.
- Returns:
- The ID of the environemnt associated with this data source.
-
errorMessage
public final DataSourceErrorMessage errorMessage()
Specifies the error message that is returned if the operation cannot be successfully completed.
- Returns:
- Specifies the error message that is returned if the operation cannot be successfully completed.
-
id
public final String id()
The ID of the data source that is deleted.
- Returns:
- The ID of the data source that is deleted.
-
lastRunAt
public final Instant lastRunAt()
The timestamp of when the data source was last run.
- Returns:
- The timestamp of when the data source was last run.
-
lastRunErrorMessage
public final DataSourceErrorMessage lastRunErrorMessage()
Specifies the error message that is returned if the operation cannot be successfully completed.
- Returns:
- Specifies the error message that is returned if the operation cannot be successfully completed.
-
lastRunStatus
public final DataSourceRunStatus lastRunStatus()
The status of the last run of this data source.
If the service returns an enum value that is not available in the current SDK version,
lastRunStatuswill returnDataSourceRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastRunStatusAsString().- Returns:
- The status of the last run of this data source.
- See Also:
DataSourceRunStatus
-
lastRunStatusAsString
public final String lastRunStatusAsString()
The status of the last run of this data source.
If the service returns an enum value that is not available in the current SDK version,
lastRunStatuswill returnDataSourceRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastRunStatusAsString().- Returns:
- The status of the last run of this data source.
- See Also:
DataSourceRunStatus
-
name
public final String name()
The name of the data source that is deleted.
- Returns:
- The name of the data source that is deleted.
-
projectId
public final String projectId()
The ID of the project in which this data source exists and from which it's deleted.
- Returns:
- The ID of the project in which this data source exists and from which it's deleted.
-
publishOnImport
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.
- Returns:
- Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
-
retainPermissionsOnRevokeFailure
public final Boolean retainPermissionsOnRevokeFailure()
Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.
- Returns:
- Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.
-
schedule
public final ScheduleConfiguration schedule()
The schedule of runs for this data source.
- Returns:
- The schedule of runs for this data source.
-
selfGrantStatus
public final SelfGrantStatusOutput selfGrantStatus()
Specifies the status of the self-granting functionality.
- Returns:
- Specifies the status of the self-granting functionality.
-
status
public final DataSourceStatus status()
The status of this data source.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDataSourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of this data source.
- See Also:
DataSourceStatus
-
statusAsString
public final String statusAsString()
The status of this data source.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDataSourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of this data source.
- See Also:
DataSourceStatus
-
type
public final String type()
The type of this data source.
- Returns:
- The type of this data source.
-
updatedAt
public final Instant updatedAt()
The timestamp of when this data source was updated.
- Returns:
- The timestamp of when this data source was updated.
-
toBuilder
public DeleteDataSourceResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteDataSourceResponse.Builder,DeleteDataSourceResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DeleteDataSourceResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteDataSourceResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-