Interface CreateServiceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateServiceRequest.Builder,CreateServiceRequest>,MigrationHubRefactorSpacesRequest.Builder,SdkBuilder<CreateServiceRequest.Builder,CreateServiceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateServiceRequest
public static interface CreateServiceRequest.Builder extends MigrationHubRefactorSpacesRequest.Builder, SdkPojo, CopyableBuilder<CreateServiceRequest.Builder,CreateServiceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateServiceRequest.BuilderapplicationIdentifier(String applicationIdentifier)The ID of the application which the service is created.CreateServiceRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateServiceRequest.Builderdescription(String description)The description of the service.CreateServiceRequest.BuilderendpointType(String endpointType)The type of endpoint to use for the service.CreateServiceRequest.BuilderendpointType(ServiceEndpointType endpointType)The type of endpoint to use for the service.CreateServiceRequest.BuilderenvironmentIdentifier(String environmentIdentifier)The ID of the environment in which the service is created.default CreateServiceRequest.BuilderlambdaEndpoint(Consumer<LambdaEndpointInput.Builder> lambdaEndpoint)The configuration for the Lambda endpoint type.CreateServiceRequest.BuilderlambdaEndpoint(LambdaEndpointInput lambdaEndpoint)The configuration for the Lambda endpoint type.CreateServiceRequest.Buildername(String name)The name of the service.CreateServiceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateServiceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateServiceRequest.Buildertags(Map<String,String> tags)The tags to assign to the service.default CreateServiceRequest.BuilderurlEndpoint(Consumer<UrlEndpointInput.Builder> urlEndpoint)The configuration for the URL endpoint type.CreateServiceRequest.BuilderurlEndpoint(UrlEndpointInput urlEndpoint)The configuration for the URL endpoint type.CreateServiceRequest.BuildervpcId(String vpcId)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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:
ServiceEndpointType,ServiceEndpointType
-
endpointType
CreateServiceRequest.Builder endpointType(ServiceEndpointType 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:
ServiceEndpointType,ServiceEndpointType
-
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 theLambdaEndpointInput.Builderavoiding the need to create one manually viaLambdaEndpointInput.builder().When the
Consumercompletes,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:
lambdaEndpoint(LambdaEndpointInput)
-
name
CreateServiceRequest.Builder name(String 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
CreateServiceRequest.Builder tags(Map<String,String> 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
CreateServiceRequest.Builder urlEndpoint(UrlEndpointInput urlEndpoint)
The configuration for the URL endpoint type. When creating a route to a service, Refactor Spaces automatically resolves the address in the
UrlEndpointInputobject 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 theUrlEndpointInputobject 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
default CreateServiceRequest.Builder urlEndpoint(Consumer<UrlEndpointInput.Builder> 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 theUrlEndpointInputobject URL when the Domain Name System (DNS) time-to-live (TTL) expires, or every 60 seconds for TTLs less than 60 seconds.UrlEndpointInput.Builderavoiding the need to create one manually viaUrlEndpointInput.builder().When the
Consumercompletes,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:
urlEndpoint(UrlEndpointInput)
-
vpcId
CreateServiceRequest.Builder vpcId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-