Interface GetServersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetServersResponse.Builder,,GetServersResponse> SdkBuilder<GetServersResponse.Builder,,GetServersResponse> SdkPojo,SdkResponse.Builder,SmsResponse.Builder
- Enclosing class:
GetServersResponse
public static interface GetServersResponse.Builder
extends SmsResponse.Builder, SdkPojo, CopyableBuilder<GetServersResponse.Builder,GetServersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlastModifiedOn(Instant lastModifiedOn) The time when the server was last modified.The token required to retrieve the next set of results.serverCatalogStatus(String serverCatalogStatus) The status of the server catalog.serverCatalogStatus(ServerCatalogStatus serverCatalogStatus) The status of the server catalog.serverList(Collection<Server> serverList) Information about the servers.serverList(Consumer<Server.Builder>... serverList) Information about the servers.serverList(Server... serverList) Information about the servers.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.sms.model.SmsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
lastModifiedOn
The time when the server was last modified.
- Parameters:
lastModifiedOn- The time when the server was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverCatalogStatus
The status of the server catalog.
- Parameters:
serverCatalogStatus- The status of the server catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverCatalogStatus
The status of the server catalog.
- Parameters:
serverCatalogStatus- The status of the server catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverList
Information about the servers.
- Parameters:
serverList- Information about the servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverList
Information about the servers.
- Parameters:
serverList- Information about the servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverList
Information about the servers.
This is a convenience method that creates an instance of theServer.Builderavoiding the need to create one manually viaServer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverList(List<Server>).- Parameters:
serverList- a consumer that will call methods onServer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token required to retrieve the next set of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token required to retrieve the next set of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-