@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeploymentResult extends Object implements Serializable, Cloneable, StructuredPojo
Information about the result of a deployment on an edge device that is registered with SageMaker Edge Manager.
Constructor and Description |
---|
DeploymentResult() |
Modifier and Type | Method and Description |
---|---|
DeploymentResult |
clone() |
boolean |
equals(Object obj) |
Date |
getDeploymentEndTime()
The timestamp of when the deployment was ended, and the agent got the deployment results.
|
List<DeploymentModel> |
getDeploymentModels()
Returns a list of models deployed on the agent.
|
String |
getDeploymentName()
The name and unique ID of the deployment.
|
Date |
getDeploymentStartTime()
The timestamp of when the deployment was started on the agent.
|
String |
getDeploymentStatus()
Returns the bucket error code.
|
String |
getDeploymentStatusMessage()
Returns the detailed error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeploymentEndTime(Date deploymentEndTime)
The timestamp of when the deployment was ended, and the agent got the deployment results.
|
void |
setDeploymentModels(Collection<DeploymentModel> deploymentModels)
Returns a list of models deployed on the agent.
|
void |
setDeploymentName(String deploymentName)
The name and unique ID of the deployment.
|
void |
setDeploymentStartTime(Date deploymentStartTime)
The timestamp of when the deployment was started on the agent.
|
void |
setDeploymentStatus(String deploymentStatus)
Returns the bucket error code.
|
void |
setDeploymentStatusMessage(String deploymentStatusMessage)
Returns the detailed error message.
|
String |
toString()
Returns a string representation of this object.
|
DeploymentResult |
withDeploymentEndTime(Date deploymentEndTime)
The timestamp of when the deployment was ended, and the agent got the deployment results.
|
DeploymentResult |
withDeploymentModels(Collection<DeploymentModel> deploymentModels)
Returns a list of models deployed on the agent.
|
DeploymentResult |
withDeploymentModels(DeploymentModel... deploymentModels)
Returns a list of models deployed on the agent.
|
DeploymentResult |
withDeploymentName(String deploymentName)
The name and unique ID of the deployment.
|
DeploymentResult |
withDeploymentStartTime(Date deploymentStartTime)
The timestamp of when the deployment was started on the agent.
|
DeploymentResult |
withDeploymentStatus(String deploymentStatus)
Returns the bucket error code.
|
DeploymentResult |
withDeploymentStatusMessage(String deploymentStatusMessage)
Returns the detailed error message.
|
public void setDeploymentName(String deploymentName)
The name and unique ID of the deployment.
deploymentName
- The name and unique ID of the deployment.public String getDeploymentName()
The name and unique ID of the deployment.
public DeploymentResult withDeploymentName(String deploymentName)
The name and unique ID of the deployment.
deploymentName
- The name and unique ID of the deployment.public void setDeploymentStatus(String deploymentStatus)
Returns the bucket error code.
deploymentStatus
- Returns the bucket error code.public String getDeploymentStatus()
Returns the bucket error code.
public DeploymentResult withDeploymentStatus(String deploymentStatus)
Returns the bucket error code.
deploymentStatus
- Returns the bucket error code.public void setDeploymentStatusMessage(String deploymentStatusMessage)
Returns the detailed error message.
deploymentStatusMessage
- Returns the detailed error message.public String getDeploymentStatusMessage()
Returns the detailed error message.
public DeploymentResult withDeploymentStatusMessage(String deploymentStatusMessage)
Returns the detailed error message.
deploymentStatusMessage
- Returns the detailed error message.public void setDeploymentStartTime(Date deploymentStartTime)
The timestamp of when the deployment was started on the agent.
deploymentStartTime
- The timestamp of when the deployment was started on the agent.public Date getDeploymentStartTime()
The timestamp of when the deployment was started on the agent.
public DeploymentResult withDeploymentStartTime(Date deploymentStartTime)
The timestamp of when the deployment was started on the agent.
deploymentStartTime
- The timestamp of when the deployment was started on the agent.public void setDeploymentEndTime(Date deploymentEndTime)
The timestamp of when the deployment was ended, and the agent got the deployment results.
deploymentEndTime
- The timestamp of when the deployment was ended, and the agent got the deployment results.public Date getDeploymentEndTime()
The timestamp of when the deployment was ended, and the agent got the deployment results.
public DeploymentResult withDeploymentEndTime(Date deploymentEndTime)
The timestamp of when the deployment was ended, and the agent got the deployment results.
deploymentEndTime
- The timestamp of when the deployment was ended, and the agent got the deployment results.public List<DeploymentModel> getDeploymentModels()
Returns a list of models deployed on the agent.
public void setDeploymentModels(Collection<DeploymentModel> deploymentModels)
Returns a list of models deployed on the agent.
deploymentModels
- Returns a list of models deployed on the agent.public DeploymentResult withDeploymentModels(DeploymentModel... deploymentModels)
Returns a list of models deployed on the agent.
NOTE: This method appends the values to the existing list (if any). Use
setDeploymentModels(java.util.Collection)
or withDeploymentModels(java.util.Collection)
if you
want to override the existing values.
deploymentModels
- Returns a list of models deployed on the agent.public DeploymentResult withDeploymentModels(Collection<DeploymentModel> deploymentModels)
Returns a list of models deployed on the agent.
deploymentModels
- Returns a list of models deployed on the agent.public String toString()
toString
in class Object
Object.toString()
public DeploymentResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.