@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualRouterSpec extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the specification of a virtual router.
| Constructor and Description |
|---|
VirtualRouterSpec() |
| Modifier and Type | Method and Description |
|---|---|
VirtualRouterSpec |
clone() |
boolean |
equals(Object obj) |
List<String> |
getServiceNames()
The service mesh service names to associate with the virtual router.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setServiceNames(Collection<String> serviceNames)
The service mesh service names to associate with the virtual router.
|
String |
toString()
Returns a string representation of this object.
|
VirtualRouterSpec |
withServiceNames(Collection<String> serviceNames)
The service mesh service names to associate with the virtual router.
|
VirtualRouterSpec |
withServiceNames(String... serviceNames)
The service mesh service names to associate with the virtual router.
|
public List<String> getServiceNames()
The service mesh service names to associate with the virtual router.
public void setServiceNames(Collection<String> serviceNames)
The service mesh service names to associate with the virtual router.
serviceNames - The service mesh service names to associate with the virtual router.public VirtualRouterSpec withServiceNames(String... serviceNames)
The service mesh service names to associate with the virtual router.
NOTE: This method appends the values to the existing list (if any). Use
setServiceNames(java.util.Collection) or withServiceNames(java.util.Collection) if you want to
override the existing values.
serviceNames - The service mesh service names to associate with the virtual router.public VirtualRouterSpec withServiceNames(Collection<String> serviceNames)
The service mesh service names to associate with the virtual router.
serviceNames - The service mesh service names to associate with the virtual router.public String toString()
toString in class ObjectObject.toString()public VirtualRouterSpec clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.