Interface UpdatePartnershipRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,B2BiRequest.Builder,Buildable,CopyableBuilder<UpdatePartnershipRequest.Builder,,UpdatePartnershipRequest> SdkBuilder<UpdatePartnershipRequest.Builder,,UpdatePartnershipRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdatePartnershipRequest
public static interface UpdatePartnershipRequest.Builder
extends B2BiRequest.Builder, SdkPojo, CopyableBuilder<UpdatePartnershipRequest.Builder,UpdatePartnershipRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncapabilities(String... capabilities) List of the capabilities associated with this partnership.capabilities(Collection<String> capabilities) List of the capabilities associated with this partnership.default UpdatePartnershipRequest.BuildercapabilityOptions(Consumer<CapabilityOptions.Builder> capabilityOptions) To update, specify the structure that contains the details for the associated capabilities.capabilityOptions(CapabilityOptions capabilityOptions) To update, specify the structure that contains the details for the associated capabilities.The name of the partnership, used to identify it.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partnershipId(String partnershipId) Specifies the unique, system-generated identifier for a partnership.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.b2bi.model.B2BiRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
partnershipId
Specifies the unique, system-generated identifier for a partnership.
- Parameters:
partnershipId- Specifies the unique, system-generated identifier for a partnership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the partnership, used to identify it.
- Parameters:
name- The name of the partnership, used to identify it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
List of the capabilities associated with this partnership.
- Parameters:
capabilities- List of the capabilities associated with this partnership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
List of the capabilities associated with this partnership.
- Parameters:
capabilities- List of the capabilities associated with this partnership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilityOptions
To update, specify the structure that contains the details for the associated capabilities.
- Parameters:
capabilityOptions- To update, specify the structure that contains the details for the associated capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilityOptions
default UpdatePartnershipRequest.Builder capabilityOptions(Consumer<CapabilityOptions.Builder> capabilityOptions) To update, specify the structure that contains the details for the associated capabilities.
This is a convenience method that creates an instance of theCapabilityOptions.Builderavoiding the need to create one manually viaCapabilityOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapabilityOptions(CapabilityOptions).- Parameters:
capabilityOptions- a consumer that will call methods onCapabilityOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdatePartnershipRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdatePartnershipRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-