Interface ListPartnerEventSourceAccountsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPartnerEventSourceAccountsResponse.Builder,ListPartnerEventSourceAccountsResponse>,EventBridgeResponse.Builder,SdkBuilder<ListPartnerEventSourceAccountsResponse.Builder,ListPartnerEventSourceAccountsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPartnerEventSourceAccountsResponse
public static interface ListPartnerEventSourceAccountsResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<ListPartnerEventSourceAccountsResponse.Builder,ListPartnerEventSourceAccountsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPartnerEventSourceAccountsResponse.BuildernextToken(String nextToken)A token indicating there are more results available.ListPartnerEventSourceAccountsResponse.BuilderpartnerEventSourceAccounts(Collection<PartnerEventSourceAccount> partnerEventSourceAccounts)The list of partner event sources returned by the operation.ListPartnerEventSourceAccountsResponse.BuilderpartnerEventSourceAccounts(Consumer<PartnerEventSourceAccount.Builder>... partnerEventSourceAccounts)The list of partner event sources returned by the operation.ListPartnerEventSourceAccountsResponse.BuilderpartnerEventSourceAccounts(PartnerEventSourceAccount... partnerEventSourceAccounts)The list of partner event sources returned by the operation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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 to#partnerEventSourceAccounts(List.) - 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:
#partnerEventSourceAccounts(java.util.Collection)
-
nextToken
ListPartnerEventSourceAccountsResponse.Builder nextToken(String nextToken)
A token indicating there are more results available. If there are no more results, no token is included in the response.
The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror.- Parameters:
nextToken- A token indicating there are more results available. If there are no more results, no token is included in the response.The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-