Interface ListServiceDeploymentsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListServiceDeploymentsRequest.Builder,ListServiceDeploymentsRequest>,EcsRequest.Builder,SdkBuilder<ListServiceDeploymentsRequest.Builder,ListServiceDeploymentsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListServiceDeploymentsRequest
public static interface ListServiceDeploymentsRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<ListServiceDeploymentsRequest.Builder,ListServiceDeploymentsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListServiceDeploymentsRequest.Buildercluster(String cluster)The cluster that hosts the service.default ListServiceDeploymentsRequest.BuildercreatedAt(Consumer<CreatedAt.Builder> createdAt)An optional filter you can use to narrow the results by the service creation date.ListServiceDeploymentsRequest.BuildercreatedAt(CreatedAt createdAt)An optional filter you can use to narrow the results by the service creation date.ListServiceDeploymentsRequest.BuildermaxResults(Integer maxResults)The maximum number of service deployment results thatListServiceDeploymentsreturned in paginated output.ListServiceDeploymentsRequest.BuildernextToken(String nextToken)ThenextTokenvalue returned from aListServiceDeploymentsrequest indicating that more results are available to fulfill the request and further calls are needed.ListServiceDeploymentsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListServiceDeploymentsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListServiceDeploymentsRequest.Builderservice(String service)The ARN or name of the serviceListServiceDeploymentsRequest.Builderstatus(Collection<ServiceDeploymentStatus> status)An optional filter you can use to narrow the results.ListServiceDeploymentsRequest.Builderstatus(ServiceDeploymentStatus... status)An optional filter you can use to narrow the results.ListServiceDeploymentsRequest.BuilderstatusWithStrings(String... status)An optional filter you can use to narrow the results.ListServiceDeploymentsRequest.BuilderstatusWithStrings(Collection<String> status)An optional filter you can use to narrow the results.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
service
ListServiceDeploymentsRequest.Builder service(String service)
The ARN or name of the service
- Parameters:
service- The ARN or name of the service- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cluster
ListServiceDeploymentsRequest.Builder cluster(String cluster)
The cluster that hosts the service. This can either be the cluster name or ARN. Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. If you don't specify a cluster,
defaultis used.- Parameters:
cluster- The cluster that hosts the service. This can either be the cluster name or ARN. Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. If you don't specify a cluster,defaultis used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusWithStrings
ListServiceDeploymentsRequest.Builder statusWithStrings(Collection<String> status)
An optional filter you can use to narrow the results. If you do not specify a status, then all status values are included in the result.
- Parameters:
status- An optional filter you can use to narrow the results. If you do not specify a status, then all status values are included in the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusWithStrings
ListServiceDeploymentsRequest.Builder statusWithStrings(String... status)
An optional filter you can use to narrow the results. If you do not specify a status, then all status values are included in the result.
- Parameters:
status- An optional filter you can use to narrow the results. If you do not specify a status, then all status values are included in the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ListServiceDeploymentsRequest.Builder status(Collection<ServiceDeploymentStatus> status)
An optional filter you can use to narrow the results. If you do not specify a status, then all status values are included in the result.
- Parameters:
status- An optional filter you can use to narrow the results. If you do not specify a status, then all status values are included in the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ListServiceDeploymentsRequest.Builder status(ServiceDeploymentStatus... status)
An optional filter you can use to narrow the results. If you do not specify a status, then all status values are included in the result.
- Parameters:
status- An optional filter you can use to narrow the results. If you do not specify a status, then all status values are included in the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
ListServiceDeploymentsRequest.Builder createdAt(CreatedAt createdAt)
An optional filter you can use to narrow the results by the service creation date. If you do not specify a value, the result includes all services created before the current time. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
- Parameters:
createdAt- An optional filter you can use to narrow the results by the service creation date. If you do not specify a value, the result includes all services created before the current time. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
default ListServiceDeploymentsRequest.Builder createdAt(Consumer<CreatedAt.Builder> createdAt)
An optional filter you can use to narrow the results by the service creation date. If you do not specify a value, the result includes all services created before the current time. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
This is a convenience method that creates an instance of theCreatedAt.Builderavoiding the need to create one manually viaCreatedAt.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatedAt(CreatedAt).- Parameters:
createdAt- a consumer that will call methods onCreatedAt.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
createdAt(CreatedAt)
-
nextToken
ListServiceDeploymentsRequest.Builder nextToken(String nextToken)
The
nextTokenvalue returned from aListServiceDeploymentsrequest indicating that more results are available to fulfill the request and further calls are needed. If you providedmaxResults, it's possible the number of results is fewer thanmaxResults.- Parameters:
nextToken- ThenextTokenvalue returned from aListServiceDeploymentsrequest indicating that more results are available to fulfill the request and further calls are needed. If you providedmaxResults, it's possible the number of results is fewer thanmaxResults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListServiceDeploymentsRequest.Builder maxResults(Integer maxResults)
The maximum number of service deployment results that
ListServiceDeploymentsreturned in paginated output. When this parameter is used,ListServiceDeploymentsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListServiceDeploymentsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenListServiceDeploymentsreturns up to 20 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of service deployment results thatListServiceDeploymentsreturned in paginated output. When this parameter is used,ListServiceDeploymentsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListServiceDeploymentsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenListServiceDeploymentsreturns up to 20 results and anextTokenvalue if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListServiceDeploymentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListServiceDeploymentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-