Interface ListVpcOriginsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<ListVpcOriginsResponse.Builder,,ListVpcOriginsResponse> SdkBuilder<ListVpcOriginsResponse.Builder,,ListVpcOriginsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListVpcOriginsResponse
public static interface ListVpcOriginsResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListVpcOriginsResponse.Builder,ListVpcOriginsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListVpcOriginsResponse.BuildervpcOriginList(Consumer<VpcOriginList.Builder> vpcOriginList) List of VPC origins.vpcOriginList(VpcOriginList vpcOriginList) List of VPC origins.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
-
vpcOriginList
List of VPC origins.
- Parameters:
vpcOriginList- List of VPC origins.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcOriginList
List of VPC origins.
This is a convenience method that creates an instance of theVpcOriginList.Builderavoiding the need to create one manually viaVpcOriginList.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcOriginList(VpcOriginList).- Parameters:
vpcOriginList- a consumer that will call methods onVpcOriginList.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-