Interface GetCapabilityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,B2BiResponse.Builder
,Buildable
,CopyableBuilder<GetCapabilityResponse.Builder,
,GetCapabilityResponse> SdkBuilder<GetCapabilityResponse.Builder,
,GetCapabilityResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCapabilityResponse
-
Method Summary
Modifier and TypeMethodDescriptioncapabilityArn
(String capabilityArn) Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.capabilityId
(String capabilityId) Returns a system-assigned unique identifier for the capability.default GetCapabilityResponse.Builder
configuration
(Consumer<CapabilityConfiguration.Builder> configuration) Returns a structure that contains the details for a capability.configuration
(CapabilityConfiguration configuration) Returns a structure that contains the details for a capability.Returns a timestamp for creation date and time of the capability.instructionsDocuments
(Collection<S3Location> instructionsDocuments) Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.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.instructionsDocuments
(S3Location... instructionsDocuments) Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.modifiedAt
(Instant modifiedAt) Returns a timestamp for last time the capability was modified.Returns the name of the capability, used to identify it.Returns the type of the capability.type
(CapabilityType type) Returns the type of the capability.Methods inherited from interface software.amazon.awssdk.services.b2bi.model.B2BiResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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, onlyedi
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, onlyedi
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
default GetCapabilityResponse.Builder configuration(Consumer<CapabilityConfiguration.Builder> configuration) Returns a structure that contains the details for a capability.
This is a convenience method that creates an instance of theCapabilityConfiguration.Builder
avoiding the need to create one manually viaCapabilityConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(CapabilityConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onCapabilityConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstructionsDocuments(List<S3Location>)
.- Parameters:
instructionsDocuments
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-