Interface CreateOpsMetadataRequest.Builder

    • Method Detail

      • resourceId

        CreateOpsMetadataRequest.Builder resourceId​(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.
      • metadata

        CreateOpsMetadataRequest.Builder metadata​(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.
      • tags

        CreateOpsMetadataRequest.Builder tags​(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.
      • tags

        CreateOpsMetadataRequest.Builder tags​(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.
      • tags

        CreateOpsMetadataRequest.Builder tags​(Consumer<Tag.Builder>... 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

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)