Interface GetVpcOriginResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<GetVpcOriginResponse.Builder,GetVpcOriginResponse>,SdkBuilder<GetVpcOriginResponse.Builder,GetVpcOriginResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetVpcOriginResponse
@Mutable @NotThreadSafe public static interface GetVpcOriginResponse.Builder extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<GetVpcOriginResponse.Builder,GetVpcOriginResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetVpcOriginResponse.BuildereTag(String eTag)The VPC origin ETag.default GetVpcOriginResponse.BuildervpcOrigin(Consumer<VpcOrigin.Builder> vpcOrigin)The VPC origin.GetVpcOriginResponse.BuildervpcOrigin(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
GetVpcOriginResponse.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 GetVpcOriginResponse.Builder vpcOrigin(Consumer<VpcOrigin.Builder> vpcOrigin)
The VPC origin.
This is a convenience method that creates an instance of theVpcOrigin.Builderavoiding the need to create one manually viaVpcOrigin.builder().When the
Consumercompletes,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)
-
eTag
GetVpcOriginResponse.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.
-
-