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