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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaConnectionGroup.builder().When the
Consumercompletes,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.
-