Interface UpdatePartnershipResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,B2BiResponse.Builder,Buildable,CopyableBuilder<UpdatePartnershipResponse.Builder,,UpdatePartnershipResponse> SdkBuilder<UpdatePartnershipResponse.Builder,,UpdatePartnershipResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdatePartnershipResponse
-
Method Summary
Modifier and TypeMethodDescriptioncapabilities(String... capabilities) Returns one or more capabilities associated with this partnership.capabilities(Collection<String> capabilities) Returns one or more capabilities associated with this partnership.capabilityOptions(Consumer<CapabilityOptions.Builder> capabilityOptions) Returns the structure that contains the details for the associated capabilities.capabilityOptions(CapabilityOptions capabilityOptions) Returns the structure that contains the details for the associated capabilities.Returns a timestamp that identifies the most recent date and time that the partnership was modified.Returns the email address associated with this trading partner.modifiedAt(Instant modifiedAt) Returns a timestamp that identifies the most recent date and time that the partnership was modified.The name of the partnership, used to identify it.partnershipArn(String partnershipArn) Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.partnershipId(String partnershipId) Returns the unique, system-generated identifier for a partnership.Returns the phone number associated with the partnership.Returns the unique, system-generated identifier for the profile connected to this partnership.tradingPartnerId(String tradingPartnerId) Returns the unique, system-generated identifier for a trading partner.Methods inherited from interface software.amazon.awssdk.services.b2bi.model.B2BiResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
profileId
Returns the unique, system-generated identifier for the profile connected to this partnership.
- Parameters:
profileId- Returns the unique, system-generated identifier for the profile connected to this partnership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partnershipId
Returns the unique, system-generated identifier for a partnership.
- Parameters:
partnershipId- Returns the unique, system-generated identifier for a partnership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partnershipArn
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
- Parameters:
partnershipArn- Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.- 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.
-
email
Returns the email address associated with this trading partner.
- Parameters:
email- Returns the email address associated with this trading partner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phone
Returns the phone number associated with the partnership.
- Parameters:
phone- Returns the phone number associated with the partnership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
Returns one or more capabilities associated with this partnership.
- Parameters:
capabilities- Returns one or more capabilities associated with this partnership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
Returns one or more capabilities associated with this partnership.
- Parameters:
capabilities- Returns one or more capabilities associated with this partnership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilityOptions
Returns the structure that contains the details for the associated capabilities.
- Parameters:
capabilityOptions- Returns 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 UpdatePartnershipResponse.Builder capabilityOptions(Consumer<CapabilityOptions.Builder> capabilityOptions) Returns 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:
-
tradingPartnerId
Returns the unique, system-generated identifier for a trading partner.
- Parameters:
tradingPartnerId- Returns the unique, system-generated identifier for a trading partner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Returns a timestamp that identifies the most recent date and time that the partnership was modified.
- Parameters:
createdAt- Returns a timestamp that identifies the most recent date and time that the partnership was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
Returns a timestamp that identifies the most recent date and time that the partnership was modified.
- Parameters:
modifiedAt- Returns a timestamp that identifies the most recent date and time that the partnership was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-