Interface DescribeEndpointAuthorizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEndpointAuthorizationResponse.Builder,
,DescribeEndpointAuthorizationResponse> RedshiftResponse.Builder
,SdkBuilder<DescribeEndpointAuthorizationResponse.Builder,
,DescribeEndpointAuthorizationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEndpointAuthorizationResponse
public static interface DescribeEndpointAuthorizationResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeEndpointAuthorizationResponse.Builder,DescribeEndpointAuthorizationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpointAuthorizationList
(Collection<EndpointAuthorization> endpointAuthorizationList) The authorizations to an endpoint.endpointAuthorizationList
(Consumer<EndpointAuthorization.Builder>... endpointAuthorizationList) The authorizations to an endpoint.endpointAuthorizationList
(EndpointAuthorization... endpointAuthorizationList) The authorizations to an endpoint.An optional pagination token provided by a previousDescribeEndpointAuthorization
request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.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 Details
-
endpointAuthorizationList
DescribeEndpointAuthorizationResponse.Builder endpointAuthorizationList(Collection<EndpointAuthorization> endpointAuthorizationList) The authorizations to an endpoint.
- Parameters:
endpointAuthorizationList
- The authorizations to an endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointAuthorizationList
DescribeEndpointAuthorizationResponse.Builder endpointAuthorizationList(EndpointAuthorization... endpointAuthorizationList) The authorizations to an endpoint.
- Parameters:
endpointAuthorizationList
- The authorizations to an endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointAuthorizationList
DescribeEndpointAuthorizationResponse.Builder endpointAuthorizationList(Consumer<EndpointAuthorization.Builder>... endpointAuthorizationList) The authorizations to an endpoint.
This is a convenience method that creates an instance of theEndpointAuthorization.Builder
avoiding the need to create one manually viaEndpointAuthorization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpointAuthorizationList(List<EndpointAuthorization>)
.- Parameters:
endpointAuthorizationList
- a consumer that will call methods onEndpointAuthorization.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
An optional pagination token provided by a previous
DescribeEndpointAuthorization
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter.- Parameters:
marker
- An optional pagination token provided by a previousDescribeEndpointAuthorization
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-