Interface GetOutpostResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetOutpostResponse.Builder,GetOutpostResponse>,OutpostsResponse.Builder,SdkBuilder<GetOutpostResponse.Builder,GetOutpostResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetOutpostResponse
public static interface GetOutpostResponse.Builder extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<GetOutpostResponse.Builder,GetOutpostResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetOutpostResponse.Builderoutpost(Consumer<Outpost.Builder> outpost)Sets the value of the Outpost property for this object.GetOutpostResponse.Builderoutpost(Outpost outpost)Sets the value of the Outpost property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsResponse.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
-
outpost
GetOutpostResponse.Builder outpost(Outpost outpost)
Sets the value of the Outpost property for this object.- Parameters:
outpost- The new value for the Outpost property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpost
default GetOutpostResponse.Builder outpost(Consumer<Outpost.Builder> outpost)
Sets the value of the Outpost property for this object. This is a convenience method that creates an instance of theOutpost.Builderavoiding the need to create one manually viaOutpost.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutpost(Outpost).- Parameters:
outpost- a consumer that will call methods onOutpost.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outpost(Outpost)
-
-