Interface UpdateCapabilityRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,B2BiRequest.Builder,Buildable,CopyableBuilder<UpdateCapabilityRequest.Builder,UpdateCapabilityRequest>,SdkBuilder<UpdateCapabilityRequest.Builder,UpdateCapabilityRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateCapabilityRequest
public static interface UpdateCapabilityRequest.Builder extends B2BiRequest.Builder, SdkPojo, CopyableBuilder<UpdateCapabilityRequest.Builder,UpdateCapabilityRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateCapabilityRequest.BuildercapabilityId(String capabilityId)Specifies a system-assigned unique identifier for the capability.default UpdateCapabilityRequest.Builderconfiguration(Consumer<CapabilityConfiguration.Builder> configuration)Specifies a structure that contains the details for a capability.UpdateCapabilityRequest.Builderconfiguration(CapabilityConfiguration configuration)Specifies a structure that contains the details for a capability.UpdateCapabilityRequest.BuilderinstructionsDocuments(Collection<S3Location> instructionsDocuments)Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.UpdateCapabilityRequest.BuilderinstructionsDocuments(Consumer<S3Location.Builder>... instructionsDocuments)Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.UpdateCapabilityRequest.BuilderinstructionsDocuments(S3Location... instructionsDocuments)Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.UpdateCapabilityRequest.Buildername(String name)Specifies a new name for the capability, to replace the existing name.UpdateCapabilityRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateCapabilityRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFields
-
-
-
-
Method Detail
-
capabilityId
UpdateCapabilityRequest.Builder capabilityId(String 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
UpdateCapabilityRequest.Builder name(String 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
UpdateCapabilityRequest.Builder configuration(CapabilityConfiguration 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.Builderavoiding the need to create one manually viaCapabilityConfiguration.builder().When the
Consumercompletes,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:
configuration(CapabilityConfiguration)
-
instructionsDocuments
UpdateCapabilityRequest.Builder instructionsDocuments(Collection<S3Location> 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(S3Location... 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.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instructionsDocuments(List.) - 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:
#instructionsDocuments(java.util.Collection)
-
overrideConfiguration
UpdateCapabilityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateCapabilityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-