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 account ID of the Amazon Web Services account that owns the VPC origin.The 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.BuildervpcOriginEndpointConfig(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.
-
accountId
The account ID of the Amazon Web Services account that owns the VPC origin.
- Parameters:
accountId- The account ID of the Amazon Web Services account that owns the VPC origin.- 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.Builderavoiding the need to create one manually viaVpcOriginEndpointConfig.builder().When the
Consumercompletes,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:
-