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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetConnectionResponse.BuilderconnectedAt(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.GetConnectionResponse.Builderidentity(Identity identity)Sets the value of the Identity property for this object.GetConnectionResponse.BuilderlastActiveAt(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, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
connectedAt
GetConnectionResponse.Builder connectedAt(Instant 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
GetConnectionResponse.Builder identity(Identity 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
default GetConnectionResponse.Builder identity(Consumer<Identity.Builder> 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:
identity(Identity)
-
lastActiveAt
GetConnectionResponse.Builder lastActiveAt(Instant 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.
-
-