Interface ServiceSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceSummary.Builder,ServiceSummary>,SdkBuilder<ServiceSummary.Builder,ServiceSummary>,SdkPojo
- Enclosing class:
- ServiceSummary
public static interface ServiceSummary.Builder extends SdkPojo, CopyableBuilder<ServiceSummary.Builder,ServiceSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ServiceSummary.BuilderapplicationId(String applicationId)The unique identifier of the application.ServiceSummary.Builderarn(String arn)The Amazon Resource Name (ARN) of the service.ServiceSummary.BuildercreatedByAccountId(String createdByAccountId)The Amazon Web Services account ID of the service creator.ServiceSummary.BuildercreatedTime(Instant createdTime)A timestamp that indicates when the service is created.ServiceSummary.Builderdescription(String description)A description of the service.ServiceSummary.BuilderendpointType(String endpointType)The endpoint type of the service.ServiceSummary.BuilderendpointType(ServiceEndpointType endpointType)The endpoint type of the service.ServiceSummary.BuilderenvironmentId(String environmentId)The unique identifier of the environment.default ServiceSummary.Buildererror(Consumer<ErrorResponse.Builder> error)Any error associated with the service resource.ServiceSummary.Buildererror(ErrorResponse error)Any error associated with the service resource.default ServiceSummary.BuilderlambdaEndpoint(Consumer<LambdaEndpointSummary.Builder> lambdaEndpoint)A summary of the configuration for the Lambda endpoint type.ServiceSummary.BuilderlambdaEndpoint(LambdaEndpointSummary lambdaEndpoint)A summary of the configuration for the Lambda endpoint type.ServiceSummary.BuilderlastUpdatedTime(Instant lastUpdatedTime)A timestamp that indicates when the service was last updated.ServiceSummary.Buildername(String name)The name of the service.ServiceSummary.BuilderownerAccountId(String ownerAccountId)The Amazon Web Services account ID of the service owner.ServiceSummary.BuilderserviceId(String serviceId)The unique identifier of the service.ServiceSummary.Builderstate(String state)The current state of the service.ServiceSummary.Builderstate(ServiceState state)The current state of the service.ServiceSummary.Buildertags(Map<String,String> tags)The tags assigned to the service.default ServiceSummary.BuilderurlEndpoint(Consumer<UrlEndpointSummary.Builder> urlEndpoint)The summary of the configuration for the URL endpoint type.ServiceSummary.BuilderurlEndpoint(UrlEndpointSummary urlEndpoint)The summary of the configuration for the URL endpoint type.ServiceSummary.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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
applicationId
ServiceSummary.Builder applicationId(String applicationId)
The unique identifier of the application.
- Parameters:
applicationId- The unique identifier of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
ServiceSummary.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
ServiceSummary.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
ServiceSummary.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
ServiceSummary.Builder description(String description)
A description of the service.
- Parameters:
description- A description of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointType
ServiceSummary.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
ServiceSummary.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
ServiceSummary.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
ServiceSummary.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 ServiceSummary.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
ServiceSummary.Builder lambdaEndpoint(LambdaEndpointSummary lambdaEndpoint)
A summary of the configuration for the Lambda endpoint type.
- Parameters:
lambdaEndpoint- A summary of the configuration for the Lambda endpoint type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaEndpoint
default ServiceSummary.Builder lambdaEndpoint(Consumer<LambdaEndpointSummary.Builder> lambdaEndpoint)
A summary of the configuration for the Lambda endpoint type.
This is a convenience method that creates an instance of theLambdaEndpointSummary.Builderavoiding the need to create one manually viaLambdaEndpointSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambdaEndpoint(LambdaEndpointSummary).- Parameters:
lambdaEndpoint- a consumer that will call methods onLambdaEndpointSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lambdaEndpoint(LambdaEndpointSummary)
-
lastUpdatedTime
ServiceSummary.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
ServiceSummary.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
ServiceSummary.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
ServiceSummary.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
ServiceSummary.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
ServiceSummary.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
ServiceSummary.Builder tags(Map<String,String> tags)
The tags assigned to the service.
- Parameters:
tags- The tags assigned to the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
urlEndpoint
ServiceSummary.Builder urlEndpoint(UrlEndpointSummary urlEndpoint)
The summary of the configuration for the URL endpoint type.
- Parameters:
urlEndpoint- The summary of the configuration for the URL endpoint type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
urlEndpoint
default ServiceSummary.Builder urlEndpoint(Consumer<UrlEndpointSummary.Builder> urlEndpoint)
The summary of the configuration for the URL endpoint type.
This is a convenience method that creates an instance of theUrlEndpointSummary.Builderavoiding the need to create one manually viaUrlEndpointSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tourlEndpoint(UrlEndpointSummary).- Parameters:
urlEndpoint- a consumer that will call methods onUrlEndpointSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
urlEndpoint(UrlEndpointSummary)
-
vpcId
ServiceSummary.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.
-
-