Interface CreateServiceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateServiceResponse.Builder,
,CreateServiceResponse> MigrationHubRefactorSpacesResponse.Builder
,SdkBuilder<CreateServiceResponse.Builder,
,CreateServiceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateServiceResponse
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The ID of the application that the created service belongs to.The Amazon Resource Name (ARN) of the service.createdByAccountId
(String createdByAccountId) The Amazon Web Services account ID of the service creator.createdTime
(Instant createdTime) A timestamp that indicates when the service is created.description
(String description) The description of the created service.endpointType
(String endpointType) The endpoint type of the service.endpointType
(ServiceEndpointType endpointType) The endpoint type of the service.environmentId
(String environmentId) The unique identifier of the environment.default CreateServiceResponse.Builder
lambdaEndpoint
(Consumer<LambdaEndpointInput.Builder> lambdaEndpoint) The configuration for the Lambda endpoint type.lambdaEndpoint
(LambdaEndpointInput lambdaEndpoint) The configuration for the Lambda endpoint type.lastUpdatedTime
(Instant lastUpdatedTime) A timestamp that indicates when the service was last updated.The name of the service.ownerAccountId
(String ownerAccountId) The Amazon Web Services account ID of the service owner.The unique identifier of the service.The current state of the service.state
(ServiceState state) The current state of the service.The tags assigned to the created service.default CreateServiceResponse.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.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhubrefactorspaces.model.MigrationHubRefactorSpacesResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
applicationId
The ID of the application that the created service belongs to.
- Parameters:
applicationId
- The ID of the application that the created service belongs to.- 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
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
A timestamp that indicates when the service is created.
- Parameters:
createdTime
- A timestamp that indicates when the service is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the created service.
- Parameters:
description
- The description of the created service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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.
-
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 CreateServiceResponse.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:
-
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
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
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 created 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 created 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.
- Parameters:
urlEndpoint
- The configuration for the URL 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.
This is a convenience method that creates an instance of theUrlEndpointInput.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.
-