Interface CreateResourceGroupRequest.Builder

    • Method Detail

      • resourceGroupTags

        CreateResourceGroupRequest.Builder resourceGroupTags​(Collection<ResourceGroupTag> resourceGroupTags)

        A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.

        For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.

        Parameters:
        resourceGroupTags - A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.

        For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.

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

        CreateResourceGroupRequest.Builder resourceGroupTags​(ResourceGroupTag... resourceGroupTags)

        A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.

        For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.

        Parameters:
        resourceGroupTags - A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.

        For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.

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

        CreateResourceGroupRequest.Builder resourceGroupTags​(Consumer<ResourceGroupTag.Builder>... resourceGroupTags)

        A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.

        For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.

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

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

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