Interface CreateConnectionFunctionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<CreateConnectionFunctionResponse.Builder,,CreateConnectionFunctionResponse> SdkBuilder<CreateConnectionFunctionResponse.Builder,,CreateConnectionFunctionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateConnectionFunctionResponse
@Mutable
@NotThreadSafe
public static interface CreateConnectionFunctionResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateConnectionFunctionResponse.Builder,CreateConnectionFunctionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionFunctionSummary(Consumer<ConnectionFunctionSummary.Builder> connectionFunctionSummary) The summary for the connection function.connectionFunctionSummary(ConnectionFunctionSummary connectionFunctionSummary) The summary for the connection function.The version identifier for the current version of the connection function.The location of the connection function.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
-
connectionFunctionSummary
CreateConnectionFunctionResponse.Builder connectionFunctionSummary(ConnectionFunctionSummary connectionFunctionSummary) The summary for the connection function.
- Parameters:
connectionFunctionSummary- The summary for the connection function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionFunctionSummary
default CreateConnectionFunctionResponse.Builder connectionFunctionSummary(Consumer<ConnectionFunctionSummary.Builder> connectionFunctionSummary) The summary for the connection function.
This is a convenience method that creates an instance of theConnectionFunctionSummary.Builderavoiding the need to create one manually viaConnectionFunctionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectionFunctionSummary(ConnectionFunctionSummary).- Parameters:
connectionFunctionSummary- a consumer that will call methods onConnectionFunctionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
location
The location of the connection function.
- Parameters:
location- The location of the connection function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eTag
The version identifier for the current version of the connection function.
- Parameters:
eTag- The version identifier for the current version of the connection function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-