Interface DescribeRuntimeVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeRuntimeVersionsResponse.Builder,,DescribeRuntimeVersionsResponse> SdkBuilder<DescribeRuntimeVersionsResponse.Builder,,DescribeRuntimeVersionsResponse> SdkPojo,SdkResponse.Builder,SyntheticsResponse.Builder
- Enclosing class:
DescribeRuntimeVersionsResponse
@Mutable
@NotThreadSafe
public static interface DescribeRuntimeVersionsResponse.Builder
extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<DescribeRuntimeVersionsResponse.Builder,DescribeRuntimeVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates that there is more data available.runtimeVersions(Collection<RuntimeVersion> runtimeVersions) An array of objects that display the details about each Synthetics canary runtime version.runtimeVersions(Consumer<RuntimeVersion.Builder>... runtimeVersions) An array of objects that display the details about each Synthetics canary runtime version.runtimeVersions(RuntimeVersion... runtimeVersions) An array of objects that display the details about each Synthetics canary runtime version.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.synthetics.model.SyntheticsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
runtimeVersions
An array of objects that display the details about each Synthetics canary runtime version.
- Parameters:
runtimeVersions- An array of objects that display the details about each Synthetics canary runtime version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeVersions
An array of objects that display the details about each Synthetics canary runtime version.
- Parameters:
runtimeVersions- An array of objects that display the details about each Synthetics canary runtime version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeVersions
DescribeRuntimeVersionsResponse.Builder runtimeVersions(Consumer<RuntimeVersion.Builder>... runtimeVersions) An array of objects that display the details about each Synthetics canary runtime version.
This is a convenience method that creates an instance of theRuntimeVersion.Builderavoiding the need to create one manually viaRuntimeVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruntimeVersions(List<RuntimeVersion>).- Parameters:
runtimeVersions- a consumer that will call methods onRuntimeVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates that there is more data available. You can use this token in a subsequent
DescribeRuntimeVersionsoperation to retrieve the next set of results.- Parameters:
nextToken- A token that indicates that there is more data available. You can use this token in a subsequentDescribeRuntimeVersionsoperation to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-