@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerSummary extends Object implements Serializable, Cloneable, StructuredPojo
Object containing details about the servers imported by Application Discovery Service
Constructor and Description |
---|
ServerSummary() |
Modifier and Type | Method and Description |
---|---|
ServerSummary |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
Number of servers.
|
String |
getServerOsType()
Type of operating system for the servers.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Integer count)
Number of servers.
|
void |
setServerOsType(String serverOsType)
Type of operating system for the servers.
|
String |
toString()
Returns a string representation of this object.
|
ServerSummary |
withCount(Integer count)
Number of servers.
|
ServerSummary |
withServerOsType(ServerOsType serverOsType)
Type of operating system for the servers.
|
ServerSummary |
withServerOsType(String serverOsType)
Type of operating system for the servers.
|
public void setServerOsType(String serverOsType)
Type of operating system for the servers.
serverOsType
- Type of operating system for the servers.ServerOsType
public String getServerOsType()
Type of operating system for the servers.
ServerOsType
public ServerSummary withServerOsType(String serverOsType)
Type of operating system for the servers.
serverOsType
- Type of operating system for the servers.ServerOsType
public ServerSummary withServerOsType(ServerOsType serverOsType)
Type of operating system for the servers.
serverOsType
- Type of operating system for the servers.ServerOsType
public void setCount(Integer count)
Number of servers.
count
- Number of servers.public Integer getCount()
Number of servers.
public ServerSummary withCount(Integer count)
Number of servers.
count
- Number of servers.public String toString()
toString
in class Object
Object.toString()
public ServerSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.