public class UpdateFirmwareCommandRequest extends JetstreamRequest
JetstreamRequest
Constructor and Description |
---|
UpdateFirmwareCommandRequest() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
BuildUri(java.lang.String baseUri,
java.lang.String accesskey)
Strategy pattern for building the Uri for the request
|
Components |
getComponent()
Returns the component that should update firmware
|
java.lang.String |
getLogicalDeviceId()
Returns the LogicalDeviceId that you want to update firmware on
|
java.lang.String |
getNewDeviceDefinitionId()
Returns the new DeviceDefinitionId that the firwmare will be on after the
update
|
java.lang.String |
getURL()
Returns the url of the firmware file download
|
void |
setComponent(Components component)
Sets the component that should update firwmare
|
void |
setLogicalDeviceId(java.lang.String id)
Sets the LogicalDeviceId that you want to update firmware on
|
void |
setNewDeviceDefinitionId(java.lang.String id)
Sets the new DeviceDefinitionId that the firmware will be on after the
update
|
void |
setURL(java.lang.String url)
Sets the url of the firmware file download
|
public java.lang.String getLogicalDeviceId()
public java.lang.String getNewDeviceDefinitionId()
public java.lang.String getURL()
public Components getComponent()
public void setLogicalDeviceId(java.lang.String id)
id
- The LogicalDeviceId that you want to update firmware onjava.lang.IllegalArgumentException
public void setURL(java.lang.String url)
url
- The url of the firmware file downloadjava.lang.IllegalArgumentException
public void setNewDeviceDefinitionId(java.lang.String id)
id
- The new DeviceDefinitionId that the firmware will be on after
the updatejava.lang.IllegalArgumentException
public void setComponent(Components component)
component
- The component that should update firwmarejava.lang.IllegalArgumentException
protected java.lang.String BuildUri(java.lang.String baseUri, java.lang.String accesskey)
JetstreamRequest
BuildUri
in class JetstreamRequest
baseUri
- The base Jetstream Domain urlaccesskey
- The user access key