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 Summary
Modifier and TypeMethodDescriptionapplicationIdentifier
(String applicationIdentifier) The ID of the application which the service is created.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description
(String description) The description of the service.endpointType
(String endpointType) The type of endpoint to use for the service.endpointType
(ServiceEndpointType endpointType) The type of endpoint to use for the service.environmentIdentifier
(String environmentIdentifier) The ID of the environment in which the service is created.default CreateServiceRequest.Builder
lambdaEndpoint
(Consumer<LambdaEndpointInput.Builder> lambdaEndpoint) The configuration for the Lambda endpoint type.lambdaEndpoint
(LambdaEndpointInput lambdaEndpoint) The configuration for the Lambda endpoint type.The name of the service.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags to assign to the service.default CreateServiceRequest.Builder
urlEndpoint
(Consumer<UrlEndpointInput.Builder> urlEndpoint) The configuration for the URL endpoint type.urlEndpoint
(UrlEndpointInput urlEndpoint) The configuration for the URL endpoint type.The ID of the VPC.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhubrefactorspaces.model.MigrationHubRefactorSpacesRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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 theLambdaEndpointInput.Builder
avoiding the need to create one manually viaLambdaEndpointInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaEndpoint(LambdaEndpointInput)
.- Parameters:
lambdaEndpoint
- a consumer that will call methods onLambdaEndpointInput.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 theUrlEndpointInput
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
This is a convenience method that creates an instance of theUrlEndpointInput
object URL when the Domain Name System (DNS) time-to-live (TTL) expires, or every 60 seconds for TTLs less than 60 seconds.UrlEndpointInput.Builder
avoiding the need to create one manually viaUrlEndpointInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tourlEndpoint(UrlEndpointInput)
.- Parameters:
urlEndpoint
- a consumer that will call methods onUrlEndpointInput.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-