Interface CreateCapabilityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,B2BiRequest.Builder
,Buildable
,CopyableBuilder<CreateCapabilityRequest.Builder,
,CreateCapabilityRequest> SdkBuilder<CreateCapabilityRequest.Builder,
,CreateCapabilityRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateCapabilityRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Reserved for future use.default CreateCapabilityRequest.Builder
configuration
(Consumer<CapabilityConfiguration.Builder> configuration) Specifies a structure that contains the details for a capability.configuration
(CapabilityConfiguration configuration) Specifies a structure that contains the details for a capability.instructionsDocuments
(Collection<S3Location> instructionsDocuments) Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.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.instructionsDocuments
(S3Location... instructionsDocuments) Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.Specifies the name of the capability, used to identify it.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.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.Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.Specifies the type of the capability.type
(CapabilityType type) Specifies the type of the capability.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.b2bi.model.B2BiRequest.Builder
build
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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
Specifies the type of the capability. Currently, only
edi
is supported.- Parameters:
type
- Specifies 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
Specifies the type of the capability. Currently, only
edi
is supported.- Parameters:
type
- Specifies 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
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.
-
configuration
default CreateCapabilityRequest.Builder configuration(Consumer<CapabilityConfiguration.Builder> configuration) Specifies 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
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
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 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:
-
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
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
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
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateCapabilityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCapabilityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-