Interface GetConnectionResponse.Builder

All Superinterfaces:
ApiGatewayManagementApiResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<GetConnectionResponse.Builder,GetConnectionResponse>, SdkBuilder<GetConnectionResponse.Builder,GetConnectionResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetConnectionResponse

  • Method Details

    • 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

      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 the Identity.Builder avoiding the need to create one manually via Identity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to identity(Identity).

      Parameters:
      identity - a consumer that will call methods on Identity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.