Interface CreateServiceRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateServiceRequest.Builder,CreateServiceRequest>, MigrationHubRefactorSpacesRequest.Builder, SdkBuilder<CreateServiceRequest.Builder,CreateServiceRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateServiceRequest

  • Method Details

    • applicationIdentifier

      CreateServiceRequest.Builder applicationIdentifier(String applicationIdentifier)

      The ID of the application which the service is created.

      Parameters:
      applicationIdentifier - The ID of the application which the service is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreateServiceRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateServiceRequest.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

      CreateServiceRequest.Builder endpointType(String endpointType)

      The type of endpoint to use for the service. The type can be a URL in a VPC or an Lambda function.

      Parameters:
      endpointType - The type of endpoint to use for the service. The type can be a URL in a VPC or an Lambda function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • endpointType

      The type of endpoint to use for the service. The type can be a URL in a VPC or an Lambda function.

      Parameters:
      endpointType - The type of endpoint to use for the service. The type can be a URL in a VPC or an Lambda function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • environmentIdentifier

      CreateServiceRequest.Builder environmentIdentifier(String environmentIdentifier)

      The ID of the environment in which the service is created.

      Parameters:
      environmentIdentifier - The ID of the environment in which the service is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lambdaEndpoint

      CreateServiceRequest.Builder lambdaEndpoint(LambdaEndpointInput lambdaEndpoint)

      The configuration for the Lambda endpoint type.

      Parameters:
      lambdaEndpoint - The configuration for the Lambda endpoint type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lambdaEndpoint

      default CreateServiceRequest.Builder lambdaEndpoint(Consumer<LambdaEndpointInput.Builder> lambdaEndpoint)

      The configuration for the Lambda endpoint type.

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

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

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

      The tags to assign 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 to assign 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. When creating a route to a service, Refactor Spaces automatically resolves the address in the UrlEndpointInput object URL when the Domain Name System (DNS) time-to-live (TTL) expires, or every 60 seconds for TTLs less than 60 seconds.

      Parameters:
      urlEndpoint - The configuration for the URL endpoint type. When creating a route to a service, Refactor Spaces automatically resolves the address in the UrlEndpointInput object URL when the Domain Name System (DNS) time-to-live (TTL) expires, or every 60 seconds for TTLs less than 60 seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • urlEndpoint

      The configuration for the URL endpoint type. When creating a route to a service, Refactor Spaces automatically resolves the address in the UrlEndpointInput object URL when the Domain Name System (DNS) time-to-live (TTL) expires, or every 60 seconds for TTLs less than 60 seconds.

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

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

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

      The ID of the VPC.

      Parameters:
      vpcId - The ID of the VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.