Interface ListTargetsResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CodestarNotificationsResponse.Builder,- CopyableBuilder<ListTargetsResponse.Builder,,- ListTargetsResponse> - SdkBuilder<ListTargetsResponse.Builder,,- ListTargetsResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListTargetsResponse
@Mutable
@NotThreadSafe
public static interface ListTargetsResponse.Builder
extends CodestarNotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListTargetsResponse.Builder,ListTargetsResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionAn enumeration token that can be used in a request to return the next batch of results.targets(Collection<TargetSummary> targets) The list of notification rule targets.targets(Consumer<TargetSummary.Builder>... targets) The list of notification rule targets.targets(TargetSummary... targets) The list of notification rule targets.Methods inherited from interface software.amazon.awssdk.services.codestarnotifications.model.CodestarNotificationsResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods 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- 
targetsThe list of notification rule targets. - Parameters:
- targets- The list of notification rule targets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
targetsThe list of notification rule targets. - Parameters:
- targets- The list of notification rule targets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
targetsThe list of notification rule targets. This is a convenience method that creates an instance of theTargetSummary.Builderavoiding the need to create one manually viaTargetSummary.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargets(List<TargetSummary>).- Parameters:
- targets- a consumer that will call methods on- TargetSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenAn enumeration token that can be used in a request to return the next batch of results. - Parameters:
- nextToken- An enumeration token that can be used in a request to return the next batch of results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-