Class UpdateDataSourceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.datazone.model.DataZoneRequest
-
- software.amazon.awssdk.services.datazone.model.UpdateDataSourceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateDataSourceRequest extends DataZoneRequest implements ToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateDataSourceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FormInput>assetFormsInput()The asset forms to be updated as part of theUpdateDataSourceaction.static UpdateDataSourceRequest.Builderbuilder()DataSourceConfigurationInputconfiguration()The configuration to be updated as part of theUpdateDataSourceaction.Stringdescription()The description to be updated as part of theUpdateDataSourceaction.StringdomainIdentifier()The identifier of the domain in which to update a data source.EnableSettingenableSetting()The enable setting to be updated as part of theUpdateDataSourceaction.StringenableSettingAsString()The enable setting to be updated as part of theUpdateDataSourceaction.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAssetFormsInput()For responses, this returns true if the service returned a value for the AssetFormsInput property.inthashCode()Stringidentifier()The identifier of the data source to be updated.Stringname()The name to be updated as part of theUpdateDataSourceaction.BooleanpublishOnImport()The publish on import setting to be updated as part of theUpdateDataSourceaction.RecommendationConfigurationrecommendation()The recommendation to be updated as part of theUpdateDataSourceaction.BooleanretainPermissionsOnRevokeFailure()Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.ScheduleConfigurationschedule()The schedule to be updated as part of theUpdateDataSourceaction.List<SdkField<?>>sdkFields()static Class<? extends UpdateDataSourceRequest.Builder>serializableBuilderClass()UpdateDataSourceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
hasAssetFormsInput
public final boolean hasAssetFormsInput()
For responses, this returns true if the service returned a value for the AssetFormsInput 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.
-
assetFormsInput
public final List<FormInput> assetFormsInput()
The asset forms to be updated as part of the
UpdateDataSourceaction.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.- Returns:
- The asset forms to be updated as part of the
UpdateDataSourceaction.
-
configuration
public final DataSourceConfigurationInput configuration()
The configuration to be updated as part of the
UpdateDataSourceaction.- Returns:
- The configuration to be updated as part of the
UpdateDataSourceaction.
-
description
public final String description()
The description to be updated as part of the
UpdateDataSourceaction.- Returns:
- The description to be updated as part of the
UpdateDataSourceaction.
-
domainIdentifier
public final String domainIdentifier()
The identifier of the domain in which to update a data source.
- Returns:
- The identifier of the domain in which to update a data source.
-
enableSetting
public final EnableSetting enableSetting()
The enable setting to be updated as part of the
UpdateDataSourceaction.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 to be updated as part of the
UpdateDataSourceaction. - See Also:
EnableSetting
-
enableSettingAsString
public final String enableSettingAsString()
The enable setting to be updated as part of the
UpdateDataSourceaction.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 to be updated as part of the
UpdateDataSourceaction. - See Also:
EnableSetting
-
identifier
public final String identifier()
The identifier of the data source to be updated.
- Returns:
- The identifier of the data source to be updated.
-
name
public final String name()
The name to be updated as part of the
UpdateDataSourceaction.- Returns:
- The name to be updated as part of the
UpdateDataSourceaction.
-
publishOnImport
public final Boolean publishOnImport()
The publish on import setting to be updated as part of the
UpdateDataSourceaction.- Returns:
- The publish on import setting to be updated as part of the
UpdateDataSourceaction.
-
recommendation
public final RecommendationConfiguration recommendation()
The recommendation to be updated as part of the
UpdateDataSourceaction.- Returns:
- The recommendation to be updated as part of the
UpdateDataSourceaction.
-
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 to be updated as part of the
UpdateDataSourceaction.- Returns:
- The schedule to be updated as part of the
UpdateDataSourceaction.
-
toBuilder
public UpdateDataSourceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>- Specified by:
toBuilderin classDataZoneRequest
-
builder
public static UpdateDataSourceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateDataSourceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-