Interface UpdateCapabilityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,B2BiRequest.Builder
,Buildable
,CopyableBuilder<UpdateCapabilityRequest.Builder,
,UpdateCapabilityRequest> SdkBuilder<UpdateCapabilityRequest.Builder,
,UpdateCapabilityRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCapabilityRequest
-
Method Summary
Modifier and TypeMethodDescriptioncapabilityId
(String capabilityId) Specifies a system-assigned unique identifier for the capability.default UpdateCapabilityRequest.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 a new name for the capability, to replace the existing name.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
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
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
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 UpdateCapabilityRequest.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
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 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:
-
overrideConfiguration
UpdateCapabilityRequest.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
UpdateCapabilityRequest.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.
-