Interface DescribeTrafficSourcesResponse.Builder
-
- All Superinterfaces:
AutoScalingResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTrafficSourcesResponse.Builder,DescribeTrafficSourcesResponse>,SdkBuilder<DescribeTrafficSourcesResponse.Builder,DescribeTrafficSourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTrafficSourcesResponse
public static interface DescribeTrafficSourcesResponse.Builder extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<DescribeTrafficSourcesResponse.Builder,DescribeTrafficSourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeTrafficSourcesResponse.BuildernextToken(String nextToken)This string indicates that the response contains more items than can be returned in a single response.DescribeTrafficSourcesResponse.BuildertrafficSources(Collection<TrafficSourceState> trafficSources)Information about the traffic sources.DescribeTrafficSourcesResponse.BuildertrafficSources(Consumer<TrafficSourceState.Builder>... trafficSources)Information about the traffic sources.DescribeTrafficSourcesResponse.BuildertrafficSources(TrafficSourceState... trafficSources)Information about the traffic sources.-
Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
trafficSources
DescribeTrafficSourcesResponse.Builder trafficSources(Collection<TrafficSourceState> trafficSources)
Information about the traffic sources.
- Parameters:
trafficSources- Information about the traffic sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficSources
DescribeTrafficSourcesResponse.Builder trafficSources(TrafficSourceState... trafficSources)
Information about the traffic sources.
- Parameters:
trafficSources- Information about the traffic sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficSources
DescribeTrafficSourcesResponse.Builder trafficSources(Consumer<TrafficSourceState.Builder>... trafficSources)
Information about the traffic sources.
This is a convenience method that creates an instance of theTrafficSourceState.Builderavoiding the need to create one manually viaTrafficSourceState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#trafficSources(List.) - Parameters:
trafficSources- a consumer that will call methods onTrafficSourceState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#trafficSources(java.util.Collection)
-
nextToken
DescribeTrafficSourcesResponse.Builder nextToken(String nextToken)
This string indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the
NextTokenvalue when requesting the next set of items. This value is null when there are no more items to return.- Parameters:
nextToken- This string indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for theNextTokenvalue when requesting the next set of items. This value is null when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-