Interface CreateRelationshipRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRelationshipRequest.Builder,,CreateRelationshipRequest> PartnerCentralChannelRequest.Builder,SdkBuilder<CreateRelationshipRequest.Builder,,CreateRelationshipRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRelationshipRequest
-
Method Summary
Modifier and TypeMethodDescriptionassociatedAccountId(String associatedAccountId) The AWS account ID to associate in this relationship.associationType(String associationType) The type of association for the relationship (e.g., reseller, distributor).associationType(AssociationType associationType) The type of association for the relationship (e.g., reseller, distributor).The catalog identifier for the relationship.clientToken(String clientToken) A unique, case-sensitive identifier to ensure idempotency of the request.displayName(String displayName) A human-readable name for the relationship.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 for this relationship.requestedSupportPlan(Consumer<SupportPlan.Builder> requestedSupportPlan) The support plan requested for this relationship.requestedSupportPlan(SupportPlan requestedSupportPlan) The support plan requested for this relationship.resaleAccountModel(String resaleAccountModel) The resale account model for the relationship.resaleAccountModel(ResaleAccountModel resaleAccountModel) The resale account model for the relationship.The business sector for the relationship.The business sector for the relationship.tags(Collection<Tag> tags) Key-value pairs to associate with the relationship.tags(Consumer<Tag.Builder>... tags) Key-value pairs to associate with the relationship.Key-value pairs to associate with 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.
-
associationType
The type of association for the relationship (e.g., reseller, distributor).
- Parameters:
associationType- The type of association for the relationship (e.g., reseller, distributor).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associationType
The type of association for the relationship (e.g., reseller, distributor).
- Parameters:
associationType- The type of association for the relationship (e.g., reseller, distributor).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
programManagementAccountIdentifier
CreateRelationshipRequest.Builder programManagementAccountIdentifier(String programManagementAccountIdentifier) The identifier of the program management account for this relationship.
- Parameters:
programManagementAccountIdentifier- The identifier of the program management account for this relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedAccountId
The AWS account ID to associate in this relationship.
- Parameters:
associatedAccountId- The AWS account ID to associate in this relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
A human-readable name for the relationship.
- Parameters:
displayName- A human-readable name for the relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resaleAccountModel
The resale account model for the relationship.
- Parameters:
resaleAccountModel- The resale account model for the relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resaleAccountModel
The resale account model for the relationship.
- Parameters:
resaleAccountModel- The resale account model for the relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sector
The business sector for the relationship.
- Parameters:
sector- The business sector for the relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sector
The business sector for the relationship.
- Parameters:
sector- The business sector for the relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier to ensure idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs to associate with the relationship.
- Parameters:
tags- Key-value pairs to associate with the relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs to associate with the relationship.
- Parameters:
tags- Key-value pairs to associate with the relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs to associate with the relationship.
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 onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestedSupportPlan
The support plan requested for this relationship.
- Parameters:
requestedSupportPlan- The support plan requested for this relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestedSupportPlan
default CreateRelationshipRequest.Builder requestedSupportPlan(Consumer<SupportPlan.Builder> requestedSupportPlan) The support plan requested for this 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
CreateRelationshipRequest.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
CreateRelationshipRequest.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.
-