@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateNetworkResourceMetadataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateNetworkResourceMetadataResult() |
Modifier and Type | Method and Description |
---|---|
UpdateNetworkResourceMetadataResult |
addMetadataEntry(String key,
String value)
Add a single Metadata entry
|
UpdateNetworkResourceMetadataResult |
clearMetadataEntries()
Removes all the entries added into Metadata.
|
UpdateNetworkResourceMetadataResult |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getMetadata()
The updated resource metadata.
|
String |
getResourceArn()
The ARN of the resource.
|
int |
hashCode() |
void |
setMetadata(Map<String,String> metadata)
The updated resource metadata.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource.
|
String |
toString()
Returns a string representation of this object.
|
UpdateNetworkResourceMetadataResult |
withMetadata(Map<String,String> metadata)
The updated resource metadata.
|
UpdateNetworkResourceMetadataResult |
withResourceArn(String resourceArn)
The ARN of the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceArn(String resourceArn)
The ARN of the resource.
resourceArn
- The ARN of the resource.public String getResourceArn()
The ARN of the resource.
public UpdateNetworkResourceMetadataResult withResourceArn(String resourceArn)
The ARN of the resource.
resourceArn
- The ARN of the resource.public Map<String,String> getMetadata()
The updated resource metadata.
public void setMetadata(Map<String,String> metadata)
The updated resource metadata.
metadata
- The updated resource metadata.public UpdateNetworkResourceMetadataResult withMetadata(Map<String,String> metadata)
The updated resource metadata.
metadata
- The updated resource metadata.public UpdateNetworkResourceMetadataResult addMetadataEntry(String key, String value)
public UpdateNetworkResourceMetadataResult clearMetadataEntries()
public String toString()
toString
in class Object
Object.toString()
public UpdateNetworkResourceMetadataResult clone()