@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetNetworkResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetNetworkResult() |
Modifier and Type | Method and Description |
---|---|
GetNetworkResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetNetworkResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetNetworkResult |
clone() |
boolean |
equals(Object obj) |
Network |
getNetwork()
Information about the network.
|
Map<String,String> |
getTags()
The network tags.
|
int |
hashCode() |
void |
setNetwork(Network network)
Information about the network.
|
void |
setTags(Map<String,String> tags)
The network tags.
|
String |
toString()
Returns a string representation of this object.
|
GetNetworkResult |
withNetwork(Network network)
Information about the network.
|
GetNetworkResult |
withTags(Map<String,String> tags)
The network tags.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNetwork(Network network)
Information about the network.
network
- Information about the network.public Network getNetwork()
Information about the network.
public GetNetworkResult withNetwork(Network network)
Information about the network.
network
- Information about the network.public void setTags(Map<String,String> tags)
The network tags.
tags
- The network tags.public GetNetworkResult withTags(Map<String,String> tags)
The network tags.
tags
- The network tags.public GetNetworkResult addTagsEntry(String key, String value)
public GetNetworkResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetNetworkResult clone()