Interface AssociateEipToVlanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AssociateEipToVlanResponse.Builder,
,AssociateEipToVlanResponse> EvsResponse.Builder
,SdkBuilder<AssociateEipToVlanResponse.Builder,
,AssociateEipToVlanResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AssociateEipToVlanResponse
@Mutable
@NotThreadSafe
public static interface AssociateEipToVlanResponse.Builder
extends EvsResponse.Builder, SdkPojo, CopyableBuilder<AssociateEipToVlanResponse.Builder,AssociateEipToVlanResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvlan
(Consumer<Vlan.Builder> vlan) Sets the value of the Vlan property for this object.Sets the value of the Vlan property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.evs.model.EvsResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
vlan
Sets the value of the Vlan property for this object.- Parameters:
vlan
- The new value for the Vlan property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vlan
Sets the value of the Vlan property for this object. This is a convenience method that creates an instance of theVlan.Builder
avoiding the need to create one manually viaVlan.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovlan(Vlan)
.- Parameters:
vlan
- a consumer that will call methods onVlan.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-