Class UpdateActiveModelVersionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentResponse
-
- software.amazon.awssdk.services.lookoutequipment.model.UpdateActiveModelVersionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateActiveModelVersionResponse.Builder,UpdateActiveModelVersionResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdateActiveModelVersionResponse extends LookoutEquipmentResponse implements ToCopyableBuilder<UpdateActiveModelVersionResponse.Builder,UpdateActiveModelVersionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateActiveModelVersionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateActiveModelVersionResponse.Builderbuilder()LongcurrentActiveVersion()The version that is currently active of the machine learning model for which the active model version was set.StringcurrentActiveVersionArn()The Amazon Resource Name (ARN) of the machine learning model version that is the current active model version.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmodelArn()The Amazon Resource Name (ARN) of the machine learning model for which the active model version was set.StringmodelName()The name of the machine learning model for which the active model version was set.LongpreviousActiveVersion()The previous version that was active of the machine learning model for which the active model version was set.StringpreviousActiveVersionArn()The Amazon Resource Name (ARN) of the machine learning model version that was the previous active model version.List<SdkField<?>>sdkFields()static Class<? extends UpdateActiveModelVersionResponse.Builder>serializableBuilderClass()UpdateActiveModelVersionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentResponse
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
-
modelName
public final String modelName()
The name of the machine learning model for which the active model version was set.
- Returns:
- The name of the machine learning model for which the active model version was set.
-
modelArn
public final String modelArn()
The Amazon Resource Name (ARN) of the machine learning model for which the active model version was set.
- Returns:
- The Amazon Resource Name (ARN) of the machine learning model for which the active model version was set.
-
currentActiveVersion
public final Long currentActiveVersion()
The version that is currently active of the machine learning model for which the active model version was set.
- Returns:
- The version that is currently active of the machine learning model for which the active model version was set.
-
previousActiveVersion
public final Long previousActiveVersion()
The previous version that was active of the machine learning model for which the active model version was set.
- Returns:
- The previous version that was active of the machine learning model for which the active model version was set.
-
currentActiveVersionArn
public final String currentActiveVersionArn()
The Amazon Resource Name (ARN) of the machine learning model version that is the current active model version.
- Returns:
- The Amazon Resource Name (ARN) of the machine learning model version that is the current active model version.
-
previousActiveVersionArn
public final String previousActiveVersionArn()
The Amazon Resource Name (ARN) of the machine learning model version that was the previous active model version.
- Returns:
- The Amazon Resource Name (ARN) of the machine learning model version that was the previous active model version.
-
toBuilder
public UpdateActiveModelVersionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateActiveModelVersionResponse.Builder,UpdateActiveModelVersionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UpdateActiveModelVersionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateActiveModelVersionResponse.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
-
-