Interface DescribeVpcEndpointServicesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeVpcEndpointServicesResponse.Builder,DescribeVpcEndpointServicesResponse>
,Ec2Response.Builder
,SdkBuilder<DescribeVpcEndpointServicesResponse.Builder,DescribeVpcEndpointServicesResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeVpcEndpointServicesResponse
public static interface DescribeVpcEndpointServicesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeVpcEndpointServicesResponse.Builder,DescribeVpcEndpointServicesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeVpcEndpointServicesResponse.Builder
nextToken(String nextToken)
The token to use when requesting the next set of items.DescribeVpcEndpointServicesResponse.Builder
serviceDetails(Collection<ServiceDetail> serviceDetails)
Information about the service.DescribeVpcEndpointServicesResponse.Builder
serviceDetails(Consumer<ServiceDetail.Builder>... serviceDetails)
Information about the service.DescribeVpcEndpointServicesResponse.Builder
serviceDetails(ServiceDetail... serviceDetails)
Information about the service.DescribeVpcEndpointServicesResponse.Builder
serviceNames(String... serviceNames)
The supported services.DescribeVpcEndpointServicesResponse.Builder
serviceNames(Collection<String> serviceNames)
The supported services.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
serviceNames
DescribeVpcEndpointServicesResponse.Builder serviceNames(Collection<String> serviceNames)
The supported services.
- Parameters:
serviceNames
- The supported services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNames
DescribeVpcEndpointServicesResponse.Builder serviceNames(String... serviceNames)
The supported services.
- Parameters:
serviceNames
- The supported services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceDetails
DescribeVpcEndpointServicesResponse.Builder serviceDetails(Collection<ServiceDetail> serviceDetails)
Information about the service.
- Parameters:
serviceDetails
- Information about the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceDetails
DescribeVpcEndpointServicesResponse.Builder serviceDetails(ServiceDetail... serviceDetails)
Information about the service.
- Parameters:
serviceDetails
- Information about the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceDetails
DescribeVpcEndpointServicesResponse.Builder serviceDetails(Consumer<ServiceDetail.Builder>... serviceDetails)
Information about the service.
This is a convenience method that creates an instance of theServiceDetail.Builder
avoiding the need to create one manually viaServiceDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#serviceDetails(List
.) - Parameters:
serviceDetails
- a consumer that will call methods onServiceDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#serviceDetails(java.util.Collection
)
-
nextToken
DescribeVpcEndpointServicesResponse.Builder nextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- Parameters:
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-