@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DestinationConfig extends Object implements Serializable, Cloneable, StructuredPojo
The destination configuration.
Constructor and Description |
---|
DestinationConfig() |
Modifier and Type | Method and Description |
---|---|
DestinationConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getServices()
A list of service names that identify the target application.
|
String |
getThingName()
The name of the IoT thing to which you want to connect.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setServices(Collection<String> services)
A list of service names that identify the target application.
|
void |
setThingName(String thingName)
The name of the IoT thing to which you want to connect.
|
String |
toString()
Returns a string representation of this object.
|
DestinationConfig |
withServices(Collection<String> services)
A list of service names that identify the target application.
|
DestinationConfig |
withServices(String... services)
A list of service names that identify the target application.
|
DestinationConfig |
withThingName(String thingName)
The name of the IoT thing to which you want to connect.
|
public void setThingName(String thingName)
The name of the IoT thing to which you want to connect.
thingName
- The name of the IoT thing to which you want to connect.public String getThingName()
The name of the IoT thing to which you want to connect.
public DestinationConfig withThingName(String thingName)
The name of the IoT thing to which you want to connect.
thingName
- The name of the IoT thing to which you want to connect.public List<String> getServices()
A list of service names that identify the target application. The IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The IoT client instantiates the local proxy, which uses this information to connect to the destination application.
public void setServices(Collection<String> services)
A list of service names that identify the target application. The IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The IoT client instantiates the local proxy, which uses this information to connect to the destination application.
services
- A list of service names that identify the target application. The IoT client running on the destination
device reads this value and uses it to look up a port or an IP address and a port. The IoT client
instantiates the local proxy, which uses this information to connect to the destination application.public DestinationConfig withServices(String... services)
A list of service names that identify the target application. The IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The IoT client instantiates the local proxy, which uses this information to connect to the destination application.
NOTE: This method appends the values to the existing list (if any). Use
setServices(java.util.Collection)
or withServices(java.util.Collection)
if you want to override
the existing values.
services
- A list of service names that identify the target application. The IoT client running on the destination
device reads this value and uses it to look up a port or an IP address and a port. The IoT client
instantiates the local proxy, which uses this information to connect to the destination application.public DestinationConfig withServices(Collection<String> services)
A list of service names that identify the target application. The IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The IoT client instantiates the local proxy, which uses this information to connect to the destination application.
services
- A list of service names that identify the target application. The IoT client running on the destination
device reads this value and uses it to look up a port or an IP address and a port. The IoT client
instantiates the local proxy, which uses this information to connect to the destination application.public String toString()
toString
in class Object
Object.toString()
public DestinationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.