@Generated(value="software.amazon.awssdk:codegen") public final class UpdateModelCardRequest extends SageMakerRequest implements ToCopyableBuilder<UpdateModelCardRequest.Builder,UpdateModelCardRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateModelCardRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateModelCardRequest.Builder |
builder() |
String |
content()
The updated model card content.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
modelCardName()
The name of the model card to update.
|
ModelCardStatus |
modelCardStatus()
The approval status of the model card within your organization.
|
String |
modelCardStatusAsString()
The approval status of the model card within your organization.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateModelCardRequest.Builder> |
serializableBuilderClass() |
UpdateModelCardRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String modelCardName()
The name of the model card to update.
public final String content()
The updated model card content. Content must be in model card JSON schema and provided as a string.
When updating model card content, be sure to include the full content and not just updated content.
When updating model card content, be sure to include the full content and not just updated content.
public final ModelCardStatus modelCardStatus()
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
Draft: The model card is a work in progress.
PendingReview: The model card is pending review.
Approved: The model card is approved.
Archived: The model card is archived. No more updates should be made to the model card, but it can
still be exported.
If the service returns an enum value that is not available in the current SDK version, modelCardStatus
will return ModelCardStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from modelCardStatusAsString().
Draft: The model card is a work in progress.
PendingReview: The model card is pending review.
Approved: The model card is approved.
Archived: The model card is archived. No more updates should be made to the model card, but
it can still be exported.
ModelCardStatuspublic final String modelCardStatusAsString()
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
Draft: The model card is a work in progress.
PendingReview: The model card is pending review.
Approved: The model card is approved.
Archived: The model card is archived. No more updates should be made to the model card, but it can
still be exported.
If the service returns an enum value that is not available in the current SDK version, modelCardStatus
will return ModelCardStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from modelCardStatusAsString().
Draft: The model card is a work in progress.
PendingReview: The model card is pending review.
Approved: The model card is approved.
Archived: The model card is archived. No more updates should be made to the model card, but
it can still be exported.
ModelCardStatuspublic UpdateModelCardRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateModelCardRequest.Builder,UpdateModelCardRequest>toBuilder in class SageMakerRequestpublic static UpdateModelCardRequest.Builder builder()
public static Class<? extends UpdateModelCardRequest.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 © 2022. All rights reserved.