Interface ListPartnerEventSourceAccountsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchEventsResponse.Builder,CopyableBuilder<ListPartnerEventSourceAccountsResponse.Builder,,ListPartnerEventSourceAccountsResponse> SdkBuilder<ListPartnerEventSourceAccountsResponse.Builder,,ListPartnerEventSourceAccountsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPartnerEventSourceAccountsResponse
@Mutable
@NotThreadSafe
public static interface ListPartnerEventSourceAccountsResponse.Builder
extends CloudWatchEventsResponse.Builder, SdkPojo, CopyableBuilder<ListPartnerEventSourceAccountsResponse.Builder,ListPartnerEventSourceAccountsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token you can use in a subsequent operation to retrieve the next set of results.partnerEventSourceAccounts(Collection<PartnerEventSourceAccount> partnerEventSourceAccounts) The list of partner event sources returned by the operation.partnerEventSourceAccounts(Consumer<PartnerEventSourceAccount.Builder>... partnerEventSourceAccounts) The list of partner event sources returned by the operation.partnerEventSourceAccounts(PartnerEventSourceAccount... partnerEventSourceAccounts) The list of partner event sources returned by the operation.Methods inherited from interface software.amazon.awssdk.services.cloudwatchevents.model.CloudWatchEventsResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
partnerEventSourceAccounts
ListPartnerEventSourceAccountsResponse.Builder partnerEventSourceAccounts(Collection<PartnerEventSourceAccount> partnerEventSourceAccounts) The list of partner event sources returned by the operation.
- Parameters:
partnerEventSourceAccounts- The list of partner event sources returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partnerEventSourceAccounts
ListPartnerEventSourceAccountsResponse.Builder partnerEventSourceAccounts(PartnerEventSourceAccount... partnerEventSourceAccounts) The list of partner event sources returned by the operation.
- Parameters:
partnerEventSourceAccounts- The list of partner event sources returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partnerEventSourceAccounts
ListPartnerEventSourceAccountsResponse.Builder partnerEventSourceAccounts(Consumer<PartnerEventSourceAccount.Builder>... partnerEventSourceAccounts) The list of partner event sources returned by the operation.
This is a convenience method that creates an instance of thePartnerEventSourceAccount.Builderavoiding the need to create one manually viaPartnerEventSourceAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartnerEventSourceAccounts(List<PartnerEventSourceAccount>).- Parameters:
partnerEventSourceAccounts- a consumer that will call methods onPartnerEventSourceAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token you can use in a subsequent operation to retrieve the next set of results.
- Parameters:
nextToken- A token you can use in a subsequent operation to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-