@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EdgeDeployment extends Object implements Serializable, Cloneable, StructuredPojo
Information about a deployment on an edge device that is registered with SageMaker Edge Manager.
Constructor and Description |
---|
EdgeDeployment() |
Modifier and Type | Method and Description |
---|---|
EdgeDeployment |
clone() |
boolean |
equals(Object obj) |
List<Definition> |
getDefinitions()
Returns a list of Definition objects.
|
String |
getDeploymentName()
The name and unique ID of the deployment.
|
String |
getFailureHandlingPolicy()
Determines whether to rollback to previous configuration if deployment fails.
|
String |
getType()
The type of the deployment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefinitions(Collection<Definition> definitions)
Returns a list of Definition objects.
|
void |
setDeploymentName(String deploymentName)
The name and unique ID of the deployment.
|
void |
setFailureHandlingPolicy(String failureHandlingPolicy)
Determines whether to rollback to previous configuration if deployment fails.
|
void |
setType(String type)
The type of the deployment.
|
String |
toString()
Returns a string representation of this object.
|
EdgeDeployment |
withDefinitions(Collection<Definition> definitions)
Returns a list of Definition objects.
|
EdgeDeployment |
withDefinitions(Definition... definitions)
Returns a list of Definition objects.
|
EdgeDeployment |
withDeploymentName(String deploymentName)
The name and unique ID of the deployment.
|
EdgeDeployment |
withFailureHandlingPolicy(FailureHandlingPolicy failureHandlingPolicy)
Determines whether to rollback to previous configuration if deployment fails.
|
EdgeDeployment |
withFailureHandlingPolicy(String failureHandlingPolicy)
Determines whether to rollback to previous configuration if deployment fails.
|
EdgeDeployment |
withType(DeploymentType type)
The type of the deployment.
|
EdgeDeployment |
withType(String type)
The type of the deployment.
|
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 EdgeDeployment withDeploymentName(String deploymentName)
The name and unique ID of the deployment.
deploymentName
- The name and unique ID of the deployment.public void setType(String type)
The type of the deployment.
type
- The type of the deployment.DeploymentType
public String getType()
The type of the deployment.
DeploymentType
public EdgeDeployment withType(String type)
The type of the deployment.
type
- The type of the deployment.DeploymentType
public EdgeDeployment withType(DeploymentType type)
The type of the deployment.
type
- The type of the deployment.DeploymentType
public void setFailureHandlingPolicy(String failureHandlingPolicy)
Determines whether to rollback to previous configuration if deployment fails.
failureHandlingPolicy
- Determines whether to rollback to previous configuration if deployment fails.FailureHandlingPolicy
public String getFailureHandlingPolicy()
Determines whether to rollback to previous configuration if deployment fails.
FailureHandlingPolicy
public EdgeDeployment withFailureHandlingPolicy(String failureHandlingPolicy)
Determines whether to rollback to previous configuration if deployment fails.
failureHandlingPolicy
- Determines whether to rollback to previous configuration if deployment fails.FailureHandlingPolicy
public EdgeDeployment withFailureHandlingPolicy(FailureHandlingPolicy failureHandlingPolicy)
Determines whether to rollback to previous configuration if deployment fails.
failureHandlingPolicy
- Determines whether to rollback to previous configuration if deployment fails.FailureHandlingPolicy
public List<Definition> getDefinitions()
Returns a list of Definition objects.
public void setDefinitions(Collection<Definition> definitions)
Returns a list of Definition objects.
definitions
- Returns a list of Definition objects.public EdgeDeployment withDefinitions(Definition... definitions)
Returns a list of Definition objects.
NOTE: This method appends the values to the existing list (if any). Use
setDefinitions(java.util.Collection)
or withDefinitions(java.util.Collection)
if you want to
override the existing values.
definitions
- Returns a list of Definition objects.public EdgeDeployment withDefinitions(Collection<Definition> definitions)
Returns a list of Definition objects.
definitions
- Returns a list of Definition objects.public String toString()
toString
in class Object
Object.toString()
public EdgeDeployment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.