@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceVersion extends Object implements Serializable, Cloneable, StructuredPojo
The version of the requested service.
Constructor and Description |
---|
ServiceVersion() |
Modifier and Type | Method and Description |
---|---|
ServiceVersion |
clone() |
boolean |
equals(Object obj) |
String |
getVersion()
The version number of the requested service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setVersion(String version)
The version number of the requested service.
|
String |
toString()
Returns a string representation of this object.
|
ServiceVersion |
withVersion(String version)
The version number of the requested service.
|
public void setVersion(String version)
The version number of the requested service.
version
- The version number of the requested service.public String getVersion()
The version number of the requested service.
public ServiceVersion withVersion(String version)
The version number of the requested service.
version
- The version number of the requested service.public String toString()
toString
in class Object
Object.toString()
public ServiceVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.