Interface GetServiceResponse.Builder

  • Method Details

    • applicationId

      GetServiceResponse.Builder applicationId(String applicationId)

      The ID of the application.

      Parameters:
      applicationId - The ID of the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the service.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdByAccountId

      GetServiceResponse.Builder createdByAccountId(String createdByAccountId)

      The Amazon Web Services account ID of the service creator.

      Parameters:
      createdByAccountId - The Amazon Web Services account ID of the service creator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTime

      GetServiceResponse.Builder createdTime(Instant createdTime)

      The timestamp of when the service is created.

      Parameters:
      createdTime - The timestamp of when the service is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetServiceResponse.Builder description(String description)

      The description of the service.

      Parameters:
      description - The description of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointType

      GetServiceResponse.Builder endpointType(String endpointType)

      The endpoint type of the service.

      Parameters:
      endpointType - The endpoint type of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • endpointType

      GetServiceResponse.Builder endpointType(ServiceEndpointType endpointType)

      The endpoint type of the service.

      Parameters:
      endpointType - The endpoint type of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • environmentId

      GetServiceResponse.Builder environmentId(String environmentId)

      The unique identifier of the environment.

      Parameters:
      environmentId - The unique identifier of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      Any error associated with the service resource.

      Parameters:
      error - Any error associated with the service resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      Any error associated with the service resource.

      This is a convenience method that creates an instance of the ErrorResponse.Builder avoiding the need to create one manually via ErrorResponse.builder().

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

      Parameters:
      error - a consumer that will call methods on ErrorResponse.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lambdaEndpoint

      GetServiceResponse.Builder lambdaEndpoint(LambdaEndpointConfig lambdaEndpoint)

      The configuration for the Lambda endpoint type.

      The Arn is the Amazon Resource Name (ARN) of the Lambda function associated with this service.

      Parameters:
      lambdaEndpoint - The configuration for the Lambda endpoint type.

      The Arn is the Amazon Resource Name (ARN) of the Lambda function associated with this service.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lambdaEndpoint

      default GetServiceResponse.Builder lambdaEndpoint(Consumer<LambdaEndpointConfig.Builder> lambdaEndpoint)

      The configuration for the Lambda endpoint type.

      The Arn is the Amazon Resource Name (ARN) of the Lambda function associated with this service.

      This is a convenience method that creates an instance of the LambdaEndpointConfig.Builder avoiding the need to create one manually via LambdaEndpointConfig.builder().

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

      Parameters:
      lambdaEndpoint - a consumer that will call methods on LambdaEndpointConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastUpdatedTime

      GetServiceResponse.Builder lastUpdatedTime(Instant lastUpdatedTime)

      A timestamp that indicates when the service was last updated.

      Parameters:
      lastUpdatedTime - A timestamp that indicates when the service was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the service.

      Parameters:
      name - The name of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownerAccountId

      GetServiceResponse.Builder ownerAccountId(String ownerAccountId)

      The Amazon Web Services account ID of the service owner.

      Parameters:
      ownerAccountId - The Amazon Web Services account ID of the service owner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceId

      GetServiceResponse.Builder serviceId(String serviceId)

      The unique identifier of the service.

      Parameters:
      serviceId - The unique identifier of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state of the service.

      Parameters:
      state - The current state of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The current state of the service.

      Parameters:
      state - The current state of the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The tags assigned to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.

      Parameters:
      tags - The tags assigned to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • urlEndpoint

      The configuration for the URL endpoint type.

      The Url isthe URL of the endpoint type.

      The HealthUrl is the health check URL of the endpoint type.

      Parameters:
      urlEndpoint - The configuration for the URL endpoint type.

      The Url isthe URL of the endpoint type.

      The HealthUrl is the health check URL of the endpoint type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • urlEndpoint

      The configuration for the URL endpoint type.

      The Url isthe URL of the endpoint type.

      The HealthUrl is the health check URL of the endpoint type.

      This is a convenience method that creates an instance of the UrlEndpointConfig.Builder avoiding the need to create one manually via UrlEndpointConfig.builder().

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

      Parameters:
      urlEndpoint - a consumer that will call methods on UrlEndpointConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vpcId

      The ID of the virtual private cloud (VPC).

      Parameters:
      vpcId - The ID of the virtual private cloud (VPC).
      Returns:
      Returns a reference to this object so that method calls can be chained together.