@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DependentService extends Object implements Serializable, Cloneable, StructuredPojo
The name and version of the service dependant on the requested service.
Constructor and Description |
---|
DependentService() |
Modifier and Type | Method and Description |
---|---|
DependentService |
clone() |
boolean |
equals(Object obj) |
String |
getServiceName()
The name of the dependent service.
|
ServiceVersion |
getServiceVersion()
The version of the dependent service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setServiceName(String serviceName)
The name of the dependent service.
|
void |
setServiceVersion(ServiceVersion serviceVersion)
The version of the dependent service.
|
String |
toString()
Returns a string representation of this object.
|
DependentService |
withServiceName(ServiceName serviceName)
The name of the dependent service.
|
DependentService |
withServiceName(String serviceName)
The name of the dependent service.
|
DependentService |
withServiceVersion(ServiceVersion serviceVersion)
The version of the dependent service.
|
public void setServiceName(String serviceName)
The name of the dependent service.
serviceName
- The name of the dependent service.ServiceName
public String getServiceName()
The name of the dependent service.
ServiceName
public DependentService withServiceName(String serviceName)
The name of the dependent service.
serviceName
- The name of the dependent service.ServiceName
public DependentService withServiceName(ServiceName serviceName)
The name of the dependent service.
serviceName
- The name of the dependent service.ServiceName
public void setServiceVersion(ServiceVersion serviceVersion)
The version of the dependent service.
serviceVersion
- The version of the dependent service.public ServiceVersion getServiceVersion()
The version of the dependent service.
public DependentService withServiceVersion(ServiceVersion serviceVersion)
The version of the dependent service.
serviceVersion
- The version of the dependent service.public String toString()
toString
in class Object
Object.toString()
public DependentService clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.