Interface GetServiceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetServiceResponse.Builder,GetServiceResponse>,MigrationHubRefactorSpacesResponse.Builder,SdkBuilder<GetServiceResponse.Builder,GetServiceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetServiceResponse
public static interface GetServiceResponse.Builder extends MigrationHubRefactorSpacesResponse.Builder, SdkPojo, CopyableBuilder<GetServiceResponse.Builder,GetServiceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetServiceResponse.BuilderapplicationId(String applicationId)The ID of the application.GetServiceResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the service.GetServiceResponse.BuildercreatedByAccountId(String createdByAccountId)The Amazon Web Services account ID of the service creator.GetServiceResponse.BuildercreatedTime(Instant createdTime)The timestamp of when the service is created.GetServiceResponse.Builderdescription(String description)The description of the service.GetServiceResponse.BuilderendpointType(String endpointType)The endpoint type of the service.GetServiceResponse.BuilderendpointType(ServiceEndpointType endpointType)The endpoint type of the service.GetServiceResponse.BuilderenvironmentId(String environmentId)The unique identifier of the environment.default GetServiceResponse.Buildererror(Consumer<ErrorResponse.Builder> error)Any error associated with the service resource.GetServiceResponse.Buildererror(ErrorResponse error)Any error associated with the service resource.default GetServiceResponse.BuilderlambdaEndpoint(Consumer<LambdaEndpointConfig.Builder> lambdaEndpoint)The configuration for the Lambda endpoint type.GetServiceResponse.BuilderlambdaEndpoint(LambdaEndpointConfig lambdaEndpoint)The configuration for the Lambda endpoint type.GetServiceResponse.BuilderlastUpdatedTime(Instant lastUpdatedTime)A timestamp that indicates when the service was last updated.GetServiceResponse.Buildername(String name)The name of the service.GetServiceResponse.BuilderownerAccountId(String ownerAccountId)The Amazon Web Services account ID of the service owner.GetServiceResponse.BuilderserviceId(String serviceId)The unique identifier of the service.GetServiceResponse.Builderstate(String state)The current state of the service.GetServiceResponse.Builderstate(ServiceState state)The current state of the service.GetServiceResponse.Buildertags(Map<String,String> tags)The tags assigned to the service.default GetServiceResponse.BuilderurlEndpoint(Consumer<UrlEndpointConfig.Builder> urlEndpoint)The configuration for the URL endpoint type.GetServiceResponse.BuilderurlEndpoint(UrlEndpointConfig urlEndpoint)The configuration for the URL endpoint type.GetServiceResponse.BuildervpcId(String vpcId)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 Detail
-
applicationId
GetServiceResponse.Builder applicationId(String 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
GetServiceResponse.Builder arn(String 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
GetServiceResponse.Builder createdByAccountId(String 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
GetServiceResponse.Builder createdTime(Instant 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
GetServiceResponse.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
GetServiceResponse.Builder endpointType(String 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:
ServiceEndpointType,ServiceEndpointType
-
endpointType
GetServiceResponse.Builder endpointType(ServiceEndpointType 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:
ServiceEndpointType,ServiceEndpointType
-
environmentId
GetServiceResponse.Builder environmentId(String 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
GetServiceResponse.Builder error(ErrorResponse 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
default GetServiceResponse.Builder error(Consumer<ErrorResponse.Builder> error)
Any error associated with the service resource.
This is a convenience method that creates an instance of theErrorResponse.Builderavoiding the need to create one manually viaErrorResponse.builder().When the
Consumercompletes,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:
error(ErrorResponse)
-
lambdaEndpoint
GetServiceResponse.Builder lambdaEndpoint(LambdaEndpointConfig 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.Builderavoiding the need to create one manually viaLambdaEndpointConfig.builder().When the
Consumercompletes,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:
lambdaEndpoint(LambdaEndpointConfig)
-
lastUpdatedTime
GetServiceResponse.Builder lastUpdatedTime(Instant 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
GetServiceResponse.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.
-
ownerAccountId
GetServiceResponse.Builder ownerAccountId(String 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
GetServiceResponse.Builder serviceId(String 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
GetServiceResponse.Builder state(String 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:
ServiceState,ServiceState
-
state
GetServiceResponse.Builder state(ServiceState 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:
ServiceState,ServiceState
-
tags
GetServiceResponse.Builder tags(Map<String,String> 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
GetServiceResponse.Builder urlEndpoint(UrlEndpointConfig 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
default GetServiceResponse.Builder urlEndpoint(Consumer<UrlEndpointConfig.Builder> 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.Builderavoiding the need to create one manually viaUrlEndpointConfig.builder().When the
Consumercompletes,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:
urlEndpoint(UrlEndpointConfig)
-
vpcId
GetServiceResponse.Builder vpcId(String 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.
-
-