@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkResourceDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Information about a network resource definition.
Constructor and Description |
---|
NetworkResourceDefinition() |
Modifier and Type | Method and Description |
---|---|
NetworkResourceDefinition |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The count in the network resource definition.
|
List<NameValuePair> |
getOptions()
The options in the network resource definition.
|
String |
getType()
The type in the network resource definition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Integer count)
The count in the network resource definition.
|
void |
setOptions(Collection<NameValuePair> options)
The options in the network resource definition.
|
void |
setType(String type)
The type in the network resource definition.
|
String |
toString()
Returns a string representation of this object.
|
NetworkResourceDefinition |
withCount(Integer count)
The count in the network resource definition.
|
NetworkResourceDefinition |
withOptions(Collection<NameValuePair> options)
The options in the network resource definition.
|
NetworkResourceDefinition |
withOptions(NameValuePair... options)
The options in the network resource definition.
|
NetworkResourceDefinition |
withType(NetworkResourceDefinitionType type)
The type in the network resource definition.
|
NetworkResourceDefinition |
withType(String type)
The type in the network resource definition.
|
public void setCount(Integer count)
The count in the network resource definition.
count
- The count in the network resource definition.public Integer getCount()
The count in the network resource definition.
public NetworkResourceDefinition withCount(Integer count)
The count in the network resource definition.
count
- The count in the network resource definition.public List<NameValuePair> getOptions()
The options in the network resource definition.
public void setOptions(Collection<NameValuePair> options)
The options in the network resource definition.
options
- The options in the network resource definition.public NetworkResourceDefinition withOptions(NameValuePair... options)
The options in the network resource definition.
NOTE: This method appends the values to the existing list (if any). Use
setOptions(java.util.Collection)
or withOptions(java.util.Collection)
if you want to override
the existing values.
options
- The options in the network resource definition.public NetworkResourceDefinition withOptions(Collection<NameValuePair> options)
The options in the network resource definition.
options
- The options in the network resource definition.public void setType(String type)
The type in the network resource definition.
type
- The type in the network resource definition.NetworkResourceDefinitionType
public String getType()
The type in the network resource definition.
NetworkResourceDefinitionType
public NetworkResourceDefinition withType(String type)
The type in the network resource definition.
type
- The type in the network resource definition.NetworkResourceDefinitionType
public NetworkResourceDefinition withType(NetworkResourceDefinitionType type)
The type in the network resource definition.
type
- The type in the network resource definition.NetworkResourceDefinitionType
public String toString()
toString
in class Object
Object.toString()
public NetworkResourceDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.