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 previousDescribeEndpointAuthorizationrequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaEndpointAuthorization.builder().When the
Consumercompletes,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
DescribeEndpointAuthorizationrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecordsparameter.- Parameters:
marker- An optional pagination token provided by a previousDescribeEndpointAuthorizationrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecordsparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-