Interface ListTargetsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodestarNotificationsRequest.Builder,CopyableBuilder<ListTargetsRequest.Builder,ListTargetsRequest>,SdkBuilder<ListTargetsRequest.Builder,ListTargetsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListTargetsRequest
public static interface ListTargetsRequest.Builder extends CodestarNotificationsRequest.Builder, SdkPojo, CopyableBuilder<ListTargetsRequest.Builder,ListTargetsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTargetsRequest.Builderfilters(Collection<ListTargetsFilter> filters)The filters to use to return information by service or resource type.ListTargetsRequest.Builderfilters(Consumer<ListTargetsFilter.Builder>... filters)The filters to use to return information by service or resource type.ListTargetsRequest.Builderfilters(ListTargetsFilter... filters)The filters to use to return information by service or resource type.ListTargetsRequest.BuildermaxResults(Integer maxResults)A non-negative integer used to limit the number of returned results.ListTargetsRequest.BuildernextToken(String nextToken)An enumeration token that, when provided in a request, returns the next batch of the results.ListTargetsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListTargetsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codestarnotifications.model.CodestarNotificationsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
filters
ListTargetsRequest.Builder filters(Collection<ListTargetsFilter> filters)
The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
- Parameters:
filters- The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListTargetsRequest.Builder filters(ListTargetsFilter... filters)
The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
- Parameters:
filters- The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListTargetsRequest.Builder filters(Consumer<ListTargetsFilter.Builder>... filters)
The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.
This is a convenience method that creates an instance of theA filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
ListTargetsFilter.Builderavoiding the need to create one manually viaListTargetsFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onListTargetsFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
nextToken
ListTargetsRequest.Builder nextToken(String nextToken)
An enumeration token that, when provided in a request, returns the next batch of the results.
- Parameters:
nextToken- An enumeration token that, when provided in a request, returns the next batch of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListTargetsRequest.Builder maxResults(Integer maxResults)
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
- Parameters:
maxResults- A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListTargetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListTargetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-