Class UpdateHubContentReferenceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerRequest
-
- software.amazon.awssdk.services.sagemaker.model.UpdateHubContentReferenceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateHubContentReferenceRequest.Builder,UpdateHubContentReferenceRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateHubContentReferenceRequest extends SageMakerRequest implements ToCopyableBuilder<UpdateHubContentReferenceRequest.Builder,UpdateHubContentReferenceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateHubContentReferenceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateHubContentReferenceRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhubContentName()The name of the hub content resource that you want to update.HubContentTypehubContentType()The content type of the resource that you want to update.StringhubContentTypeAsString()The content type of the resource that you want to update.StringhubName()The name of the SageMaker hub that contains the hub content you want to update.StringminVersion()The minimum hub content version of the referenced model that you want to use.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateHubContentReferenceRequest.Builder>serializableBuilderClass()UpdateHubContentReferenceRequest.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
-
hubName
public final String hubName()
The name of the SageMaker hub that contains the hub content you want to update. You can optionally use the hub ARN instead.
- Returns:
- The name of the SageMaker hub that contains the hub content you want to update. You can optionally use the hub ARN instead.
-
hubContentName
public final String hubContentName()
The name of the hub content resource that you want to update.
- Returns:
- The name of the hub content resource that you want to update.
-
hubContentType
public final HubContentType hubContentType()
The content type of the resource that you want to update. Only specify a
ModelReferenceresource for this API. To update aModelorNotebookresource, use theUpdateHubContentAPI instead.If the service returns an enum value that is not available in the current SDK version,
hubContentTypewill returnHubContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhubContentTypeAsString().- Returns:
- The content type of the resource that you want to update. Only specify a
ModelReferenceresource for this API. To update aModelorNotebookresource, use theUpdateHubContentAPI instead. - See Also:
HubContentType
-
hubContentTypeAsString
public final String hubContentTypeAsString()
The content type of the resource that you want to update. Only specify a
ModelReferenceresource for this API. To update aModelorNotebookresource, use theUpdateHubContentAPI instead.If the service returns an enum value that is not available in the current SDK version,
hubContentTypewill returnHubContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhubContentTypeAsString().- Returns:
- The content type of the resource that you want to update. Only specify a
ModelReferenceresource for this API. To update aModelorNotebookresource, use theUpdateHubContentAPI instead. - See Also:
HubContentType
-
minVersion
public final String minVersion()
The minimum hub content version of the referenced model that you want to use. The minimum version must be older than the latest available version of the referenced model. To support all versions of a model, set the value to
1.0.0.- Returns:
- The minimum hub content version of the referenced model that you want to use. The minimum version must be
older than the latest available version of the referenced model. To support all versions of a model, set
the value to
1.0.0.
-
toBuilder
public UpdateHubContentReferenceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateHubContentReferenceRequest.Builder,UpdateHubContentReferenceRequest>- Specified by:
toBuilderin classSageMakerRequest
-
builder
public static UpdateHubContentReferenceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateHubContentReferenceRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-