Interface CreateVpcOriginResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<CreateVpcOriginResponse.Builder,CreateVpcOriginResponse>
,SdkBuilder<CreateVpcOriginResponse.Builder,CreateVpcOriginResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateVpcOriginResponse
public static interface CreateVpcOriginResponse.Builder extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateVpcOriginResponse.Builder,CreateVpcOriginResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateVpcOriginResponse.Builder
eTag(String eTag)
The VPC origin ETag.CreateVpcOriginResponse.Builder
location(String location)
The VPC origin location.default CreateVpcOriginResponse.Builder
vpcOrigin(Consumer<VpcOrigin.Builder> vpcOrigin)
The VPC origin.CreateVpcOriginResponse.Builder
vpcOrigin(VpcOrigin vpcOrigin)
The VPC origin.-
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 Detail
-
vpcOrigin
CreateVpcOriginResponse.Builder vpcOrigin(VpcOrigin vpcOrigin)
The VPC origin.
- Parameters:
vpcOrigin
- The VPC origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcOrigin
default CreateVpcOriginResponse.Builder vpcOrigin(Consumer<VpcOrigin.Builder> vpcOrigin)
The VPC origin.
This is a convenience method that creates an instance of theVpcOrigin.Builder
avoiding the need to create one manually viaVpcOrigin.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcOrigin(VpcOrigin)
.- Parameters:
vpcOrigin
- a consumer that will call methods onVpcOrigin.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcOrigin(VpcOrigin)
-
location
CreateVpcOriginResponse.Builder location(String location)
The VPC origin location.
- Parameters:
location
- The VPC origin location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eTag
CreateVpcOriginResponse.Builder eTag(String eTag)
The VPC origin ETag.
- Parameters:
eTag
- The VPC origin ETag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-