Interface GetConnectionResponse.Builder
- All Superinterfaces:
ApiGatewayManagementApiResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetConnectionResponse.Builder,,GetConnectionResponse> SdkBuilder<GetConnectionResponse.Builder,,GetConnectionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetConnectionResponse
public static interface GetConnectionResponse.Builder
extends ApiGatewayManagementApiResponse.Builder, SdkPojo, CopyableBuilder<GetConnectionResponse.Builder,GetConnectionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectedAt(Instant connectedAt) The time in ISO 8601 format for when the connection was established.default GetConnectionResponse.Builderidentity(Consumer<Identity.Builder> identity) Sets the value of the Identity property for this object.Sets the value of the Identity property for this object.lastActiveAt(Instant lastActiveAt) The time in ISO 8601 format for when the connection was last active.Methods inherited from interface software.amazon.awssdk.services.apigatewaymanagementapi.model.ApiGatewayManagementApiResponse.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
connectedAt
The time in ISO 8601 format for when the connection was established.
- Parameters:
connectedAt- The time in ISO 8601 format for when the connection was established.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identity
Sets the value of the Identity property for this object.- Parameters:
identity- The new value for the Identity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identity
Sets the value of the Identity property for this object. This is a convenience method that creates an instance of theIdentity.Builderavoiding the need to create one manually viaIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentity(Identity).- Parameters:
identity- a consumer that will call methods onIdentity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastActiveAt
The time in ISO 8601 format for when the connection was last active.
- Parameters:
lastActiveAt- The time in ISO 8601 format for when the connection was last active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-