Interface CreateCapabilityRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,B2BiRequest.Builder,Buildable,CopyableBuilder<CreateCapabilityRequest.Builder,CreateCapabilityRequest>,SdkBuilder<CreateCapabilityRequest.Builder,CreateCapabilityRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCapabilityRequest
public static interface CreateCapabilityRequest.Builder extends B2BiRequest.Builder, SdkPojo, CopyableBuilder<CreateCapabilityRequest.Builder,CreateCapabilityRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateCapabilityRequest.BuilderclientToken(String clientToken)Reserved for future use.default CreateCapabilityRequest.Builderconfiguration(Consumer<CapabilityConfiguration.Builder> configuration)Specifies a structure that contains the details for a capability.CreateCapabilityRequest.Builderconfiguration(CapabilityConfiguration configuration)Specifies a structure that contains the details for a capability.CreateCapabilityRequest.BuilderinstructionsDocuments(Collection<S3Location> instructionsDocuments)Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.CreateCapabilityRequest.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.CreateCapabilityRequest.BuilderinstructionsDocuments(S3Location... instructionsDocuments)Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.CreateCapabilityRequest.Buildername(String name)Specifies the name of the capability, used to identify it.CreateCapabilityRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCapabilityRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCapabilityRequest.Buildertags(Collection<Tag> tags)Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.CreateCapabilityRequest.Buildertags(Consumer<Tag.Builder>... tags)Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.CreateCapabilityRequest.Buildertags(Tag... tags)Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.CreateCapabilityRequest.Buildertype(String type)Specifies the type of the capability.CreateCapabilityRequest.Buildertype(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, sdkFields
-
-
-
-
Method Detail
-
name
CreateCapabilityRequest.Builder name(String 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
CreateCapabilityRequest.Builder type(String type)
Specifies the type of the capability. Currently, only
ediis supported.- Parameters:
type- Specifies the type of the capability. Currently, onlyediis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CapabilityType,CapabilityType
-
type
CreateCapabilityRequest.Builder type(CapabilityType type)
Specifies the type of the capability. Currently, only
ediis supported.- Parameters:
type- Specifies the type of the capability. Currently, onlyediis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CapabilityType,CapabilityType
-
configuration
CreateCapabilityRequest.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 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.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
CreateCapabilityRequest.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
CreateCapabilityRequest.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
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.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)
-
clientToken
CreateCapabilityRequest.Builder clientToken(String 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
CreateCapabilityRequest.Builder tags(Collection<Tag> 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
CreateCapabilityRequest.Builder tags(Tag... 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
CreateCapabilityRequest.Builder 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. 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateCapabilityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCapabilityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-