Class UpdateAssetRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.dataexchange.model.DataExchangeRequest
-
- software.amazon.awssdk.services.dataexchange.model.UpdateAssetRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAssetRequest.Builder,UpdateAssetRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAssetRequest extends DataExchangeRequest implements ToCopyableBuilder<UpdateAssetRequest.Builder,UpdateAssetRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAssetRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassetId()The unique identifier for an asset.static UpdateAssetRequest.Builderbuilder()StringdataSetId()The unique identifier for a data set.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the asset.StringrevisionId()The unique identifier for a revision.List<SdkField<?>>sdkFields()static Class<? extends UpdateAssetRequest.Builder>serializableBuilderClass()UpdateAssetRequest.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
-
assetId
public final String assetId()
The unique identifier for an asset.
- Returns:
- The unique identifier for an asset.
-
dataSetId
public final String dataSetId()
The unique identifier for a data set.
- Returns:
- The unique identifier for a data set.
-
name
public final String name()
The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in the LF-tag policy" or "Table(s) included in LF-tag policy" are used as the name.
- Returns:
- The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in the LF-tag policy" or "Table(s) included in LF-tag policy" are used as the name.
-
revisionId
public final String revisionId()
The unique identifier for a revision.
- Returns:
- The unique identifier for a revision.
-
toBuilder
public UpdateAssetRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAssetRequest.Builder,UpdateAssetRequest>- Specified by:
toBuilderin classDataExchangeRequest
-
builder
public static UpdateAssetRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAssetRequest.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
-
-