Interface CreateIpamScopeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateIpamScopeResponse.Builder,CreateIpamScopeResponse>
,Ec2Response.Builder
,SdkBuilder<CreateIpamScopeResponse.Builder,CreateIpamScopeResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateIpamScopeResponse
public static interface CreateIpamScopeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateIpamScopeResponse.Builder,CreateIpamScopeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateIpamScopeResponse.Builder
ipamScope(Consumer<IpamScope.Builder> ipamScope)
Information about the created scope.CreateIpamScopeResponse.Builder
ipamScope(IpamScope ipamScope)
Information about the created scope.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
ipamScope
CreateIpamScopeResponse.Builder ipamScope(IpamScope ipamScope)
Information about the created scope.
- Parameters:
ipamScope
- Information about the created scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamScope
default CreateIpamScopeResponse.Builder ipamScope(Consumer<IpamScope.Builder> ipamScope)
Information about the created scope.
This is a convenience method that creates an instance of theIpamScope.Builder
avoiding the need to create one manually viaIpamScope.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipamScope(IpamScope)
.- Parameters:
ipamScope
- a consumer that will call methods onIpamScope.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ipamScope(IpamScope)
-
-