Interface ListPartnerEventSourcesResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListPartnerEventSourcesResponse.Builder,,- ListPartnerEventSourcesResponse> - EventBridgeResponse.Builder,- SdkBuilder<ListPartnerEventSourcesResponse.Builder,,- ListPartnerEventSourcesResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListPartnerEventSourcesResponse
- 
Method SummaryModifier and TypeMethodDescriptionA token indicating there are more results available.partnerEventSources(Collection<PartnerEventSource> partnerEventSources) The list of partner event sources returned by the operation.partnerEventSources(Consumer<PartnerEventSource.Builder>... partnerEventSources) The list of partner event sources returned by the operation.partnerEventSources(PartnerEventSource... partnerEventSources) The list of partner event sources returned by the operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
partnerEventSourcesListPartnerEventSourcesResponse.Builder partnerEventSources(Collection<PartnerEventSource> partnerEventSources) The list of partner event sources returned by the operation. - Parameters:
- partnerEventSources- 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.
 
- 
partnerEventSourcesListPartnerEventSourcesResponse.Builder partnerEventSources(PartnerEventSource... partnerEventSources) The list of partner event sources returned by the operation. - Parameters:
- partnerEventSources- 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.
 
- 
partnerEventSourcesListPartnerEventSourcesResponse.Builder partnerEventSources(Consumer<PartnerEventSource.Builder>... partnerEventSources) The list of partner event sources returned by the operation. This is a convenience method that creates an instance of thePartnerEventSource.Builderavoiding the need to create one manually viaPartnerEventSource.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartnerEventSources(List<PartnerEventSource>).- Parameters:
- partnerEventSources- a consumer that will call methods on- PartnerEventSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenA 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.
 
 
-