Interface CreateCapabilityResponse.Builder

    • Method Detail

      • capabilityId

        CreateCapabilityResponse.Builder capabilityId​(String capabilityId)

        Returns a system-assigned unique identifier for the capability.

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

        CreateCapabilityResponse.Builder capabilityArn​(String capabilityArn)

        Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.

        Parameters:
        capabilityArn - Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateCapabilityResponse.Builder name​(String name)

        Returns the name of the capability used to identify it.

        Parameters:
        name - Returns 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

        CreateCapabilityResponse.Builder type​(String type)

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

        Parameters:
        type - Returns 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

        CreateCapabilityResponse.Builder configuration​(CapabilityConfiguration configuration)

        Returns a structure that contains the details for a capability.

        Parameters:
        configuration - Returns 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

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

        Returns 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 - Returns 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

        CreateCapabilityResponse.Builder instructionsDocuments​(S3Location... instructionsDocuments)

        Returns 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 - Returns 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

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

        Returns 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)
      • createdAt

        CreateCapabilityResponse.Builder createdAt​(Instant createdAt)

        Returns a timestamp for creation date and time of the capability.

        Parameters:
        createdAt - Returns a timestamp for creation date and time of the capability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.