Interface UpdateCapabilityRequest.Builder

    • Method Detail

      • capabilityId

        UpdateCapabilityRequest.Builder capabilityId​(String capabilityId)

        Specifies a system-assigned unique identifier for the capability.

        Parameters:
        capabilityId - Specifies a system-assigned unique identifier for the capability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        UpdateCapabilityRequest.Builder name​(String name)

        Specifies a new name for the capability, to replace the existing name.

        Parameters:
        name - Specifies a new name for the capability, to replace the existing name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configuration

        UpdateCapabilityRequest.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

        UpdateCapabilityRequest.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

        UpdateCapabilityRequest.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

        UpdateCapabilityRequest.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)