@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualServiceData extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a virtual service returned by a describe operation.
Constructor and Description |
---|
VirtualServiceData() |
Modifier and Type | Method and Description |
---|---|
VirtualServiceData |
clone() |
boolean |
equals(Object obj) |
String |
getMeshName()
The name of the service mesh that the virtual service resides in.
|
ResourceMetadata |
getMetadata() |
VirtualServiceSpec |
getSpec()
The specifications of the virtual service.
|
VirtualServiceStatus |
getStatus()
The current status of the virtual service.
|
String |
getVirtualServiceName()
The name of the virtual service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMeshName(String meshName)
The name of the service mesh that the virtual service resides in.
|
void |
setMetadata(ResourceMetadata metadata) |
void |
setSpec(VirtualServiceSpec spec)
The specifications of the virtual service.
|
void |
setStatus(VirtualServiceStatus status)
The current status of the virtual service.
|
void |
setVirtualServiceName(String virtualServiceName)
The name of the virtual service.
|
String |
toString()
Returns a string representation of this object.
|
VirtualServiceData |
withMeshName(String meshName)
The name of the service mesh that the virtual service resides in.
|
VirtualServiceData |
withMetadata(ResourceMetadata metadata) |
VirtualServiceData |
withSpec(VirtualServiceSpec spec)
The specifications of the virtual service.
|
VirtualServiceData |
withStatus(VirtualServiceStatus status)
The current status of the virtual service.
|
VirtualServiceData |
withVirtualServiceName(String virtualServiceName)
The name of the virtual service.
|
public void setMeshName(String meshName)
The name of the service mesh that the virtual service resides in.
meshName
- The name of the service mesh that the virtual service resides in.public String getMeshName()
The name of the service mesh that the virtual service resides in.
public VirtualServiceData withMeshName(String meshName)
The name of the service mesh that the virtual service resides in.
meshName
- The name of the service mesh that the virtual service resides in.public void setMetadata(ResourceMetadata metadata)
metadata
- public ResourceMetadata getMetadata()
public VirtualServiceData withMetadata(ResourceMetadata metadata)
metadata
- public void setSpec(VirtualServiceSpec spec)
The specifications of the virtual service.
spec
- The specifications of the virtual service.public VirtualServiceSpec getSpec()
The specifications of the virtual service.
public VirtualServiceData withSpec(VirtualServiceSpec spec)
The specifications of the virtual service.
spec
- The specifications of the virtual service.public void setStatus(VirtualServiceStatus status)
The current status of the virtual service.
status
- The current status of the virtual service.public VirtualServiceStatus getStatus()
The current status of the virtual service.
public VirtualServiceData withStatus(VirtualServiceStatus status)
The current status of the virtual service.
status
- The current status of the virtual service.public void setVirtualServiceName(String virtualServiceName)
The name of the virtual service.
virtualServiceName
- The name of the virtual service.public String getVirtualServiceName()
The name of the virtual service.
public VirtualServiceData withVirtualServiceName(String virtualServiceName)
The name of the virtual service.
virtualServiceName
- The name of the virtual service.public String toString()
toString
in class Object
Object.toString()
public VirtualServiceData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.