Interface ListLandingZonesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ControlTowerResponse.Builder,CopyableBuilder<ListLandingZonesResponse.Builder,,ListLandingZonesResponse> SdkBuilder<ListLandingZonesResponse.Builder,,ListLandingZonesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListLandingZonesResponse
public static interface ListLandingZonesResponse.Builder
extends ControlTowerResponse.Builder, SdkPojo, CopyableBuilder<ListLandingZonesResponse.Builder,ListLandingZonesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlandingZones(Collection<LandingZoneSummary> landingZones) The ARN of the landing zone.landingZones(Consumer<LandingZoneSummary.Builder>... landingZones) The ARN of the landing zone.landingZones(LandingZoneSummary... landingZones) The ARN of the landing zone.Retrieves the next page of results.Methods inherited from interface software.amazon.awssdk.services.controltower.model.ControlTowerResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
landingZones
The ARN of the landing zone.
- Parameters:
landingZones- The ARN of the landing zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
landingZones
The ARN of the landing zone.
- Parameters:
landingZones- The ARN of the landing zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
landingZones
The ARN of the landing zone.
This is a convenience method that creates an instance of theLandingZoneSummary.Builderavoiding the need to create one manually viaLandingZoneSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolandingZones(List<LandingZoneSummary>).- Parameters:
landingZones- a consumer that will call methods onLandingZoneSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Retrieves the next page of results. If the string is empty, the response is the end of the results.
- Parameters:
nextToken- Retrieves the next page of results. If the string is empty, the response is the end of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-