Interface UpdateRelationshipRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRelationshipRequest.Builder,,UpdateRelationshipRequest> PartnerCentralChannelRequest.Builder,SdkBuilder<UpdateRelationshipRequest.Builder,,UpdateRelationshipRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRelationshipRequest
@Mutable
@NotThreadSafe
public static interface UpdateRelationshipRequest.Builder
extends PartnerCentralChannelRequest.Builder, SdkPojo, CopyableBuilder<UpdateRelationshipRequest.Builder,UpdateRelationshipRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe catalog identifier for the relationship.displayName(String displayName) The new display name for the relationship.identifier(String identifier) The unique identifier of the relationship to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.programManagementAccountIdentifier(String programManagementAccountIdentifier) The identifier of the program management account associated with the relationship.requestedSupportPlan(Consumer<SupportPlan.Builder> requestedSupportPlan) The updated support plan for the relationship.requestedSupportPlan(SupportPlan requestedSupportPlan) The updated support plan for the relationship.The current revision number of the relationship.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralchannel.model.PartnerCentralChannelRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
catalog
The catalog identifier for the relationship.
- Parameters:
catalog- The catalog identifier for the relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
The unique identifier of the relationship to update.
- Parameters:
identifier- The unique identifier of the relationship to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programManagementAccountIdentifier
UpdateRelationshipRequest.Builder programManagementAccountIdentifier(String programManagementAccountIdentifier) The identifier of the program management account associated with the relationship.
- Parameters:
programManagementAccountIdentifier- The identifier of the program management account associated with the relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
The current revision number of the relationship.
- Parameters:
revision- The current revision number of the relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The new display name for the relationship.
- Parameters:
displayName- The new display name for the relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestedSupportPlan
The updated support plan for the relationship.
- Parameters:
requestedSupportPlan- The updated support plan for the relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestedSupportPlan
default UpdateRelationshipRequest.Builder requestedSupportPlan(Consumer<SupportPlan.Builder> requestedSupportPlan) The updated support plan for the relationship.
This is a convenience method that creates an instance of theSupportPlan.Builderavoiding the need to create one manually viaSupportPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequestedSupportPlan(SupportPlan).- Parameters:
requestedSupportPlan- a consumer that will call methods onSupportPlan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateRelationshipRequest.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
UpdateRelationshipRequest.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.
-