Uses of Class
com.amazonaws.services.ec2.model.Affinity
-
Packages that use Affinity Package Description com.amazonaws.services.ec2.model -
-
Uses of Affinity in com.amazonaws.services.ec2.model
Methods in com.amazonaws.services.ec2.model that return Affinity Modifier and Type Method Description static Affinity
Affinity. fromValue(String value)
Use this in place of valueOf.static Affinity
Affinity. valueOf(String name)
Returns the enum constant of this type with the specified name.static Affinity[]
Affinity. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.amazonaws.services.ec2.model with parameters of type Affinity Modifier and Type Method Description void
ModifyInstancePlacementRequest. setAffinity(Affinity affinity)
The new affinity setting for the instance.ModifyInstancePlacementRequest
ModifyInstancePlacementRequest. withAffinity(Affinity affinity)
The new affinity setting for the instance.
-