Interface GetServiceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetServiceResponse.Builder,
,GetServiceResponse> MigrationHubRefactorSpacesResponse.Builder
,SdkBuilder<GetServiceResponse.Builder,
,GetServiceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetServiceResponse
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The ID of the application.The Amazon Resource Name (ARN) of the service.createdByAccountId
(String createdByAccountId) The Amazon Web Services account ID of the service creator.createdTime
(Instant createdTime) The timestamp of when the service is created.description
(String description) The description of the 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 GetServiceResponse.Builder
error
(Consumer<ErrorResponse.Builder> error) Any error associated with the service resource.error
(ErrorResponse error) Any error associated with the service resource.default GetServiceResponse.Builder
lambdaEndpoint
(Consumer<LambdaEndpointConfig.Builder> lambdaEndpoint) The configuration for the Lambda endpoint type.lambdaEndpoint
(LambdaEndpointConfig 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 service.default GetServiceResponse.Builder
urlEndpoint
(Consumer<UrlEndpointConfig.Builder> urlEndpoint) The configuration for the URL endpoint type.urlEndpoint
(UrlEndpointConfig urlEndpoint) The configuration for the URL endpoint type.The ID of the virtual private cloud (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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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 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.
-
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 theErrorResponse.Builder
avoiding the need to create one manually viaErrorResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(ErrorResponse)
.- Parameters:
error
- a consumer that will call methods onErrorResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theLambdaEndpointConfig.Builder
avoiding the need to create one manually viaLambdaEndpointConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaEndpoint(LambdaEndpointConfig)
.- Parameters:
lambdaEndpoint
- a consumer that will call methods onLambdaEndpointConfig.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 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 theUrlEndpointConfig.Builder
avoiding the need to create one manually viaUrlEndpointConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tourlEndpoint(UrlEndpointConfig)
.- Parameters:
urlEndpoint
- a consumer that will call methods onUrlEndpointConfig.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.
-