JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.simplesystemsmanagement.model

Class CreateOpsMetadataRequest

    • Constructor Detail

      • CreateOpsMetadataRequest

        public CreateOpsMetadataRequest()
    • Method Detail

      • setResourceId

        public void setResourceId(String resourceId)

        A resource ID for a new Application Manager application.

        Parameters:
        resourceId - A resource ID for a new Application Manager application.
      • getResourceId

        public String getResourceId()

        A resource ID for a new Application Manager application.

        Returns:
        A resource ID for a new Application Manager application.
      • withResourceId

        public CreateOpsMetadataRequest withResourceId(String resourceId)

        A resource ID for a new Application Manager application.

        Parameters:
        resourceId - A resource ID for a new Application Manager application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getMetadata

        public Map<String,MetadataValue> getMetadata()

        Metadata for a new Application Manager application.

        Returns:
        Metadata for a new Application Manager application.
      • setMetadata

        public void setMetadata(Map<String,MetadataValue> metadata)

        Metadata for a new Application Manager application.

        Parameters:
        metadata - Metadata for a new Application Manager application.
      • withMetadata

        public CreateOpsMetadataRequest withMetadata(Map<String,MetadataValue> metadata)

        Metadata for a new Application Manager application.

        Parameters:
        metadata - Metadata for a new Application Manager application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearMetadataEntries

        public CreateOpsMetadataRequest clearMetadataEntries()
        Removes all the entries added into Metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        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

        Returns:
        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

      • setTags

        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

        Parameters:
        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

      • withTags

        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.

        Parameters:
        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

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        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

        Parameters:
        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

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /