Interface PutAllianceLeadContactResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutAllianceLeadContactResponse.Builder,,PutAllianceLeadContactResponse> PartnerCentralAccountResponse.Builder,SdkBuilder<PutAllianceLeadContactResponse.Builder,,PutAllianceLeadContactResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutAllianceLeadContactResponse
@Mutable
@NotThreadSafe
public static interface PutAllianceLeadContactResponse.Builder
extends PartnerCentralAccountResponse.Builder, SdkPojo, CopyableBuilder<PutAllianceLeadContactResponse.Builder,PutAllianceLeadContactResponse>
-
Method Summary
Modifier and TypeMethodDescriptionallianceLeadContact(Consumer<AllianceLeadContact.Builder> allianceLeadContact) The updated alliance lead contact information.allianceLeadContact(AllianceLeadContact allianceLeadContact) The updated alliance lead contact information.The Amazon Resource Name (ARN) of the partner account.The catalog identifier for the partner account.The unique identifier of the partner account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralaccount.model.PartnerCentralAccountResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
catalog
The catalog identifier for the partner account.
- Parameters:
catalog- The catalog identifier for the partner account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the partner account.
- Parameters:
arn- The Amazon Resource Name (ARN) of the partner account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier of the partner account.
- Parameters:
id- The unique identifier of the partner account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allianceLeadContact
The updated alliance lead contact information.
- Parameters:
allianceLeadContact- The updated alliance lead contact information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allianceLeadContact
default PutAllianceLeadContactResponse.Builder allianceLeadContact(Consumer<AllianceLeadContact.Builder> allianceLeadContact) The updated alliance lead contact information.
This is a convenience method that creates an instance of theAllianceLeadContact.Builderavoiding the need to create one manually viaAllianceLeadContact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallianceLeadContact(AllianceLeadContact).- Parameters:
allianceLeadContact- a consumer that will call methods onAllianceLeadContact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-