Interface GetConnectionGroupByRoutingEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<GetConnectionGroupByRoutingEndpointResponse.Builder,
,GetConnectionGroupByRoutingEndpointResponse> SdkBuilder<GetConnectionGroupByRoutingEndpointResponse.Builder,
,GetConnectionGroupByRoutingEndpointResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetConnectionGroupByRoutingEndpointResponse
@Mutable
@NotThreadSafe
public static interface GetConnectionGroupByRoutingEndpointResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<GetConnectionGroupByRoutingEndpointResponse.Builder,GetConnectionGroupByRoutingEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionGroup
(Consumer<ConnectionGroup.Builder> connectionGroup) Sets the value of the ConnectionGroup property for this object.connectionGroup
(ConnectionGroup connectionGroup) Sets the value of the ConnectionGroup property for this object.The current version of the connection group.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
connectionGroup
GetConnectionGroupByRoutingEndpointResponse.Builder connectionGroup(ConnectionGroup connectionGroup) Sets the value of the ConnectionGroup property for this object.- Parameters:
connectionGroup
- The new value for the ConnectionGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionGroup
default GetConnectionGroupByRoutingEndpointResponse.Builder connectionGroup(Consumer<ConnectionGroup.Builder> connectionGroup) Sets the value of the ConnectionGroup property for this object. This is a convenience method that creates an instance of theConnectionGroup.Builder
avoiding the need to create one manually viaConnectionGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionGroup(ConnectionGroup)
.- Parameters:
connectionGroup
- a consumer that will call methods onConnectionGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eTag
The current version of the connection group.
- Parameters:
eTag
- The current version of the connection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-