Interface VpcOrigin.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcOrigin.Builder,
,VpcOrigin> SdkBuilder<VpcOrigin.Builder,
,VpcOrigin> SdkPojo
- Enclosing class:
VpcOrigin
@Mutable
@NotThreadSafe
public static interface VpcOrigin.Builder
extends SdkPojo, CopyableBuilder<VpcOrigin.Builder,VpcOrigin>
-
Method Summary
Modifier and TypeMethodDescriptionThe VPC origin ARN.createdTime
(Instant createdTime) The VPC origin created time.The VPC origin ID.lastModifiedTime
(Instant lastModifiedTime) The VPC origin last modified time.The VPC origin status.default VpcOrigin.Builder
vpcOriginEndpointConfig
(Consumer<VpcOriginEndpointConfig.Builder> vpcOriginEndpointConfig) The VPC origin endpoint configuration.vpcOriginEndpointConfig
(VpcOriginEndpointConfig vpcOriginEndpointConfig) The VPC origin endpoint configuration.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
-
Method Details
-
id
The VPC origin ID.
- Parameters:
id
- The VPC origin ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The VPC origin ARN.
- Parameters:
arn
- The VPC origin ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The VPC origin status.
- Parameters:
status
- The VPC origin status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
The VPC origin created time.
- Parameters:
createdTime
- The VPC origin created time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The VPC origin last modified time.
- Parameters:
lastModifiedTime
- The VPC origin last modified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcOriginEndpointConfig
The VPC origin endpoint configuration.
- Parameters:
vpcOriginEndpointConfig
- The VPC origin endpoint configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcOriginEndpointConfig
default VpcOrigin.Builder vpcOriginEndpointConfig(Consumer<VpcOriginEndpointConfig.Builder> vpcOriginEndpointConfig) The VPC origin endpoint configuration.
This is a convenience method that creates an instance of theVpcOriginEndpointConfig.Builder
avoiding the need to create one manually viaVpcOriginEndpointConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcOriginEndpointConfig(VpcOriginEndpointConfig)
.- Parameters:
vpcOriginEndpointConfig
- a consumer that will call methods onVpcOriginEndpointConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-