Interface PutAttributesRequest.Builder

    • Method Detail

      • cluster

        PutAttributesRequest.Builder cluster​(String cluster)

        The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.

        Parameters:
        cluster - The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributes

        PutAttributesRequest.Builder attributes​(Collection<Attribute> attributes)

        The attributes to apply to your resource. You can specify up to 10 custom attributes for each resource. You can specify up to 10 attributes in a single call.

        Parameters:
        attributes - The attributes to apply to your resource. You can specify up to 10 custom attributes for each resource. You can specify up to 10 attributes in a single call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributes

        PutAttributesRequest.Builder attributes​(Attribute... attributes)

        The attributes to apply to your resource. You can specify up to 10 custom attributes for each resource. You can specify up to 10 attributes in a single call.

        Parameters:
        attributes - The attributes to apply to your resource. You can specify up to 10 custom attributes for each resource. You can specify up to 10 attributes in a single call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributes

        PutAttributesRequest.Builder attributes​(Consumer<Attribute.Builder>... attributes)

        The attributes to apply to your resource. You can specify up to 10 custom attributes for each resource. You can specify up to 10 attributes in a single call.

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

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

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