@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceSelectionConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the configurations of selected devices.
Constructor and Description |
---|
DeviceSelectionConfig() |
Modifier and Type | Method and Description |
---|---|
DeviceSelectionConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceNameContains()
A filter to select devices with names containing this name.
|
List<String> |
getDeviceNames()
List of devices chosen to deploy.
|
String |
getDeviceSubsetType()
Type of device subsets to deploy to the current stage.
|
Integer |
getPercentage()
Percentage of devices in the fleet to deploy to the current stage.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeviceNameContains(String deviceNameContains)
A filter to select devices with names containing this name.
|
void |
setDeviceNames(Collection<String> deviceNames)
List of devices chosen to deploy.
|
void |
setDeviceSubsetType(String deviceSubsetType)
Type of device subsets to deploy to the current stage.
|
void |
setPercentage(Integer percentage)
Percentage of devices in the fleet to deploy to the current stage.
|
String |
toString()
Returns a string representation of this object.
|
DeviceSelectionConfig |
withDeviceNameContains(String deviceNameContains)
A filter to select devices with names containing this name.
|
DeviceSelectionConfig |
withDeviceNames(Collection<String> deviceNames)
List of devices chosen to deploy.
|
DeviceSelectionConfig |
withDeviceNames(String... deviceNames)
List of devices chosen to deploy.
|
DeviceSelectionConfig |
withDeviceSubsetType(DeviceSubsetType deviceSubsetType)
Type of device subsets to deploy to the current stage.
|
DeviceSelectionConfig |
withDeviceSubsetType(String deviceSubsetType)
Type of device subsets to deploy to the current stage.
|
DeviceSelectionConfig |
withPercentage(Integer percentage)
Percentage of devices in the fleet to deploy to the current stage.
|
public void setDeviceSubsetType(String deviceSubsetType)
Type of device subsets to deploy to the current stage.
deviceSubsetType
- Type of device subsets to deploy to the current stage.DeviceSubsetType
public String getDeviceSubsetType()
Type of device subsets to deploy to the current stage.
DeviceSubsetType
public DeviceSelectionConfig withDeviceSubsetType(String deviceSubsetType)
Type of device subsets to deploy to the current stage.
deviceSubsetType
- Type of device subsets to deploy to the current stage.DeviceSubsetType
public DeviceSelectionConfig withDeviceSubsetType(DeviceSubsetType deviceSubsetType)
Type of device subsets to deploy to the current stage.
deviceSubsetType
- Type of device subsets to deploy to the current stage.DeviceSubsetType
public void setPercentage(Integer percentage)
Percentage of devices in the fleet to deploy to the current stage.
percentage
- Percentage of devices in the fleet to deploy to the current stage.public Integer getPercentage()
Percentage of devices in the fleet to deploy to the current stage.
public DeviceSelectionConfig withPercentage(Integer percentage)
Percentage of devices in the fleet to deploy to the current stage.
percentage
- Percentage of devices in the fleet to deploy to the current stage.public List<String> getDeviceNames()
List of devices chosen to deploy.
public void setDeviceNames(Collection<String> deviceNames)
List of devices chosen to deploy.
deviceNames
- List of devices chosen to deploy.public DeviceSelectionConfig withDeviceNames(String... deviceNames)
List of devices chosen to deploy.
NOTE: This method appends the values to the existing list (if any). Use
setDeviceNames(java.util.Collection)
or withDeviceNames(java.util.Collection)
if you want to
override the existing values.
deviceNames
- List of devices chosen to deploy.public DeviceSelectionConfig withDeviceNames(Collection<String> deviceNames)
List of devices chosen to deploy.
deviceNames
- List of devices chosen to deploy.public void setDeviceNameContains(String deviceNameContains)
A filter to select devices with names containing this name.
deviceNameContains
- A filter to select devices with names containing this name.public String getDeviceNameContains()
A filter to select devices with names containing this name.
public DeviceSelectionConfig withDeviceNameContains(String deviceNameContains)
A filter to select devices with names containing this name.
deviceNameContains
- A filter to select devices with names containing this name.public String toString()
toString
in class Object
Object.toString()
public DeviceSelectionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.