@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOpsMetadataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateOpsMetadataRequest() |
Modifier and Type | Method and Description |
---|---|
CreateOpsMetadataRequest |
addMetadataEntry(String key,
MetadataValue value)
Add a single Metadata entry
|
CreateOpsMetadataRequest |
clearMetadataEntries()
Removes all the entries added into Metadata.
|
CreateOpsMetadataRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,MetadataValue> |
getMetadata()
Metadata for a new Application Manager application.
|
String |
getResourceId()
A resource ID for a new Application Manager application.
|
List<Tag> |
getTags()
Optional metadata that you assign to a resource.
|
int |
hashCode() |
void |
setMetadata(Map<String,MetadataValue> metadata)
Metadata for a new Application Manager application.
|
void |
setResourceId(String resourceId)
A resource ID for a new Application Manager application.
|
void |
setTags(Collection<Tag> tags)
Optional metadata that you assign to a resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateOpsMetadataRequest |
withMetadata(Map<String,MetadataValue> metadata)
Metadata for a new Application Manager application.
|
CreateOpsMetadataRequest |
withResourceId(String resourceId)
A resource ID for a new Application Manager application.
|
CreateOpsMetadataRequest |
withTags(Collection<Tag> tags)
Optional metadata that you assign to a resource.
|
CreateOpsMetadataRequest |
withTags(Tag... tags)
Optional metadata that you assign to a 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 void setResourceId(String resourceId)
A resource ID for a new Application Manager application.
resourceId
- A resource ID for a new Application Manager application.public String getResourceId()
A resource ID for a new Application Manager application.
public CreateOpsMetadataRequest withResourceId(String resourceId)
A resource ID for a new Application Manager application.
resourceId
- A resource ID for a new Application Manager application.public Map<String,MetadataValue> getMetadata()
Metadata for a new Application Manager application.
public void setMetadata(Map<String,MetadataValue> metadata)
Metadata for a new Application Manager application.
metadata
- Metadata for a new Application Manager application.public CreateOpsMetadataRequest withMetadata(Map<String,MetadataValue> metadata)
Metadata for a new Application Manager application.
metadata
- Metadata for a new Application Manager application.public CreateOpsMetadataRequest addMetadataEntry(String key, MetadataValue value)
public CreateOpsMetadataRequest clearMetadataEntries()
public List<Tag> getTags()
Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:
Key=Environment,Value=Production
Key=Region,Value=us-east-2
Key=Environment,Value=Production
Key=Region,Value=us-east-2
public void setTags(Collection<Tag> tags)
Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:
Key=Environment,Value=Production
Key=Region,Value=us-east-2
tags
- Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata
object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or
environment. For example, you might want to tag an OpsMetadata object to identify an environment or target
Amazon Web Services Region. In this case, you could specify the following key-value pairs:
Key=Environment,Value=Production
Key=Region,Value=us-east-2
public CreateOpsMetadataRequest withTags(Tag... tags)
Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:
Key=Environment,Value=Production
Key=Region,Value=us-east-2
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata
object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or
environment. For example, you might want to tag an OpsMetadata object to identify an environment or target
Amazon Web Services Region. In this case, you could specify the following key-value pairs:
Key=Environment,Value=Production
Key=Region,Value=us-east-2
public CreateOpsMetadataRequest withTags(Collection<Tag> tags)
Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:
Key=Environment,Value=Production
Key=Region,Value=us-east-2
tags
- Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata
object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or
environment. For example, you might want to tag an OpsMetadata object to identify an environment or target
Amazon Web Services Region. In this case, you could specify the following key-value pairs:
Key=Environment,Value=Production
Key=Region,Value=us-east-2
public String toString()
toString
in class Object
Object.toString()
public CreateOpsMetadataRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()