@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElasticInferenceAcceleratorAssociation extends Object implements Serializable, Cloneable
Describes the association between an instance and an elastic inference accelerator.
Constructor and Description |
---|
ElasticInferenceAcceleratorAssociation() |
Modifier and Type | Method and Description |
---|---|
ElasticInferenceAcceleratorAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getElasticInferenceAcceleratorArn()
The Amazon Resource Name (ARN) of the elastic inference accelerator.
|
String |
getElasticInferenceAcceleratorAssociationId()
The ID of the association.
|
String |
getElasticInferenceAcceleratorAssociationState()
The state of the elastic inference accelerator.
|
Date |
getElasticInferenceAcceleratorAssociationTime()
The time at which the elastic inference accelerator is associated with an instance.
|
int |
hashCode() |
void |
setElasticInferenceAcceleratorArn(String elasticInferenceAcceleratorArn)
The Amazon Resource Name (ARN) of the elastic inference accelerator.
|
void |
setElasticInferenceAcceleratorAssociationId(String elasticInferenceAcceleratorAssociationId)
The ID of the association.
|
void |
setElasticInferenceAcceleratorAssociationState(String elasticInferenceAcceleratorAssociationState)
The state of the elastic inference accelerator.
|
void |
setElasticInferenceAcceleratorAssociationTime(Date elasticInferenceAcceleratorAssociationTime)
The time at which the elastic inference accelerator is associated with an instance.
|
String |
toString()
Returns a string representation of this object.
|
ElasticInferenceAcceleratorAssociation |
withElasticInferenceAcceleratorArn(String elasticInferenceAcceleratorArn)
The Amazon Resource Name (ARN) of the elastic inference accelerator.
|
ElasticInferenceAcceleratorAssociation |
withElasticInferenceAcceleratorAssociationId(String elasticInferenceAcceleratorAssociationId)
The ID of the association.
|
ElasticInferenceAcceleratorAssociation |
withElasticInferenceAcceleratorAssociationState(String elasticInferenceAcceleratorAssociationState)
The state of the elastic inference accelerator.
|
ElasticInferenceAcceleratorAssociation |
withElasticInferenceAcceleratorAssociationTime(Date elasticInferenceAcceleratorAssociationTime)
The time at which the elastic inference accelerator is associated with an instance.
|
public ElasticInferenceAcceleratorAssociation()
public void setElasticInferenceAcceleratorArn(String elasticInferenceAcceleratorArn)
The Amazon Resource Name (ARN) of the elastic inference accelerator.
elasticInferenceAcceleratorArn
- The Amazon Resource Name (ARN) of the elastic inference accelerator.public String getElasticInferenceAcceleratorArn()
The Amazon Resource Name (ARN) of the elastic inference accelerator.
public ElasticInferenceAcceleratorAssociation withElasticInferenceAcceleratorArn(String elasticInferenceAcceleratorArn)
The Amazon Resource Name (ARN) of the elastic inference accelerator.
elasticInferenceAcceleratorArn
- The Amazon Resource Name (ARN) of the elastic inference accelerator.public void setElasticInferenceAcceleratorAssociationId(String elasticInferenceAcceleratorAssociationId)
The ID of the association.
elasticInferenceAcceleratorAssociationId
- The ID of the association.public String getElasticInferenceAcceleratorAssociationId()
The ID of the association.
public ElasticInferenceAcceleratorAssociation withElasticInferenceAcceleratorAssociationId(String elasticInferenceAcceleratorAssociationId)
The ID of the association.
elasticInferenceAcceleratorAssociationId
- The ID of the association.public void setElasticInferenceAcceleratorAssociationState(String elasticInferenceAcceleratorAssociationState)
The state of the elastic inference accelerator.
elasticInferenceAcceleratorAssociationState
- The state of the elastic inference accelerator.public String getElasticInferenceAcceleratorAssociationState()
The state of the elastic inference accelerator.
public ElasticInferenceAcceleratorAssociation withElasticInferenceAcceleratorAssociationState(String elasticInferenceAcceleratorAssociationState)
The state of the elastic inference accelerator.
elasticInferenceAcceleratorAssociationState
- The state of the elastic inference accelerator.public void setElasticInferenceAcceleratorAssociationTime(Date elasticInferenceAcceleratorAssociationTime)
The time at which the elastic inference accelerator is associated with an instance.
elasticInferenceAcceleratorAssociationTime
- The time at which the elastic inference accelerator is associated with an instance.public Date getElasticInferenceAcceleratorAssociationTime()
The time at which the elastic inference accelerator is associated with an instance.
public ElasticInferenceAcceleratorAssociation withElasticInferenceAcceleratorAssociationTime(Date elasticInferenceAcceleratorAssociationTime)
The time at which the elastic inference accelerator is associated with an instance.
elasticInferenceAcceleratorAssociationTime
- The time at which the elastic inference accelerator is associated with an instance.public String toString()
toString
in class Object
Object.toString()
public ElasticInferenceAcceleratorAssociation clone()