Interface GetCapabilityResponse.Builder

All Superinterfaces:
AwsResponse.Builder, B2BiResponse.Builder, Buildable, CopyableBuilder<GetCapabilityResponse.Builder,GetCapabilityResponse>, SdkBuilder<GetCapabilityResponse.Builder,GetCapabilityResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetCapabilityResponse

public static interface GetCapabilityResponse.Builder extends B2BiResponse.Builder, SdkPojo, CopyableBuilder<GetCapabilityResponse.Builder,GetCapabilityResponse>
  • Method Details

    • capabilityId

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

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

      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

      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:
    • 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:
    • 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.
    • configuration

      Returns a structure that contains the details for a capability.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(CapabilityConfiguration).

      Parameters:
      configuration - a consumer that will call methods on CapabilityConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instructionsDocuments

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

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

      GetCapabilityResponse.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<S3Location>).

      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:
    • createdAt

      GetCapabilityResponse.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.
    • modifiedAt

      GetCapabilityResponse.Builder modifiedAt(Instant modifiedAt)

      Returns a timestamp for last time the capability was modified.

      Parameters:
      modifiedAt - Returns a timestamp for last time the capability was modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.