Interface CreateCapabilityRequest.Builder

    • Method Detail

      • name

        CreateCapabilityRequest.Builder name​(String name)

        Specifies the name of the capability, used to identify it.

        Parameters:
        name - Specifies the name of the capability, used to identify it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        CreateCapabilityRequest.Builder type​(String type)

        Specifies the type of the capability. Currently, only edi is supported.

        Parameters:
        type - Specifies the type of the capability. Currently, only edi is supported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CapabilityType, CapabilityType
      • configuration

        CreateCapabilityRequest.Builder configuration​(CapabilityConfiguration configuration)

        Specifies a structure that contains the details for a capability.

        Parameters:
        configuration - Specifies a structure that contains the details for a capability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instructionsDocuments

        CreateCapabilityRequest.Builder instructionsDocuments​(Collection<S3Location> instructionsDocuments)

        Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.

        Parameters:
        instructionsDocuments - Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instructionsDocuments

        CreateCapabilityRequest.Builder instructionsDocuments​(S3Location... instructionsDocuments)

        Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.

        Parameters:
        instructionsDocuments - Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instructionsDocuments

        CreateCapabilityRequest.Builder instructionsDocuments​(Consumer<S3Location.Builder>... instructionsDocuments)

        Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.

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

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

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

        CreateCapabilityRequest.Builder clientToken​(String clientToken)

        Reserved for future use.

        Parameters:
        clientToken - Reserved for future use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateCapabilityRequest.Builder tags​(Collection<Tag> tags)

        Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.

        Parameters:
        tags - Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateCapabilityRequest.Builder tags​(Tag... tags)

        Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.

        Parameters:
        tags - Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateCapabilityRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.

        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)