@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FoundationModelLifecycle extends Object implements Serializable, Cloneable, StructuredPojo
Details about whether a model version is available or deprecated.
Constructor and Description |
---|
FoundationModelLifecycle() |
Modifier and Type | Method and Description |
---|---|
FoundationModelLifecycle |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
Specifies whether a model version is available (
ACTIVE ) or deprecated (LEGACY . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(String status)
Specifies whether a model version is available (
ACTIVE ) or deprecated (LEGACY . |
String |
toString()
Returns a string representation of this object.
|
FoundationModelLifecycle |
withStatus(FoundationModelLifecycleStatus status)
Specifies whether a model version is available (
ACTIVE ) or deprecated (LEGACY . |
FoundationModelLifecycle |
withStatus(String status)
Specifies whether a model version is available (
ACTIVE ) or deprecated (LEGACY . |
public void setStatus(String status)
Specifies whether a model version is available (ACTIVE
) or deprecated (LEGACY
.
status
- Specifies whether a model version is available (ACTIVE
) or deprecated (LEGACY
.FoundationModelLifecycleStatus
public String getStatus()
Specifies whether a model version is available (ACTIVE
) or deprecated (LEGACY
.
ACTIVE
) or deprecated (LEGACY
.FoundationModelLifecycleStatus
public FoundationModelLifecycle withStatus(String status)
Specifies whether a model version is available (ACTIVE
) or deprecated (LEGACY
.
status
- Specifies whether a model version is available (ACTIVE
) or deprecated (LEGACY
.FoundationModelLifecycleStatus
public FoundationModelLifecycle withStatus(FoundationModelLifecycleStatus status)
Specifies whether a model version is available (ACTIVE
) or deprecated (LEGACY
.
status
- Specifies whether a model version is available (ACTIVE
) or deprecated (LEGACY
.FoundationModelLifecycleStatus
public String toString()
toString
in class Object
Object.toString()
public FoundationModelLifecycle clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.