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 SummaryModifier and TypeMethodDescriptionclientToken(String clientToken) Reserved for future use.default CreateCapabilityRequest.Builderconfiguration(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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.b2bi.model.B2BiRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameSpecifies 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.
 
- 
typeSpecifies the type of the capability. Currently, only ediis supported.- Parameters:
- type- Specifies the type of the capability. Currently, only- ediis supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeSpecifies the type of the capability. Currently, only ediis supported.- Parameters:
- type- Specifies the type of the capability. Currently, only- ediis supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
configurationSpecifies 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.
 
- 
configurationdefault 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 on- CapabilityConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
instructionsDocumentsSpecifies 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.
 
- 
instructionsDocumentsSpecifies 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.
 
- 
instructionsDocumentsCreateCapabilityRequest.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 toinstructionsDocuments(List<S3Location>).- Parameters:
- instructionsDocuments- a consumer that will call methods on- S3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
clientTokenReserved for future use. - Parameters:
- clientToken- Reserved for future use.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsSpecifies 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.
 
- 
tagsSpecifies 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.
 
- 
tagsSpecifies 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 totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateCapabilityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateCapabilityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-