@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateNetworkResourceMetadataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateNetworkResourceMetadataRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateNetworkResourceMetadataRequest |
addMetadataEntry(String key,
String value)
Add a single Metadata entry
|
UpdateNetworkResourceMetadataRequest |
clearMetadataEntries()
Removes all the entries added into Metadata.
|
UpdateNetworkResourceMetadataRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGlobalNetworkId()
The ID of the global network.
|
Map<String,String> |
getMetadata()
The resource metadata.
|
String |
getResourceArn()
The ARN of the resource.
|
int |
hashCode() |
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setMetadata(Map<String,String> metadata)
The resource metadata.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource.
|
String |
toString()
Returns a string representation of this object.
|
UpdateNetworkResourceMetadataRequest |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
UpdateNetworkResourceMetadataRequest |
withMetadata(Map<String,String> metadata)
The resource metadata.
|
UpdateNetworkResourceMetadataRequest |
withResourceArn(String resourceArn)
The ARN of the resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public UpdateNetworkResourceMetadataRequest()
public void setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public UpdateNetworkResourceMetadataRequest withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.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 UpdateNetworkResourceMetadataRequest withResourceArn(String resourceArn)
The ARN of the resource.
resourceArn
- The ARN of the resource.public Map<String,String> getMetadata()
The resource metadata.
public void setMetadata(Map<String,String> metadata)
The resource metadata.
metadata
- The resource metadata.public UpdateNetworkResourceMetadataRequest withMetadata(Map<String,String> metadata)
The resource metadata.
metadata
- The resource metadata.public UpdateNetworkResourceMetadataRequest addMetadataEntry(String key, String value)
public UpdateNetworkResourceMetadataRequest clearMetadataEntries()
public String toString()
toString
in class Object
Object.toString()
public UpdateNetworkResourceMetadataRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()