Interface ListTaskDefinitionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListTaskDefinitionsRequest.Builder,ListTaskDefinitionsRequest>,EcsRequest.Builder,SdkBuilder<ListTaskDefinitionsRequest.Builder,ListTaskDefinitionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListTaskDefinitionsRequest
public static interface ListTaskDefinitionsRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<ListTaskDefinitionsRequest.Builder,ListTaskDefinitionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTaskDefinitionsRequest.BuilderfamilyPrefix(String familyPrefix)The full family name to filter theListTaskDefinitionsresults with.ListTaskDefinitionsRequest.BuildermaxResults(Integer maxResults)The maximum number of task definition results thatListTaskDefinitionsreturned in paginated output.ListTaskDefinitionsRequest.BuildernextToken(String nextToken)ThenextTokenvalue returned from aListTaskDefinitionsrequest indicating that more results are available to fulfill the request and further calls will be needed.ListTaskDefinitionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListTaskDefinitionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListTaskDefinitionsRequest.Buildersort(String sort)The order to sort the results in.ListTaskDefinitionsRequest.Buildersort(SortOrder sort)The order to sort the results in.ListTaskDefinitionsRequest.Builderstatus(String status)The task definition status to filter theListTaskDefinitionsresults with.ListTaskDefinitionsRequest.Builderstatus(TaskDefinitionStatus status)The task definition status to filter theListTaskDefinitionsresults with.-
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, sdkFields
-
-
-
-
Method Detail
-
familyPrefix
ListTaskDefinitionsRequest.Builder familyPrefix(String familyPrefix)
The full family name to filter the
ListTaskDefinitionsresults with. Specifying afamilyPrefixlimits the listed task definitions to task definition revisions that belong to that family.- Parameters:
familyPrefix- The full family name to filter theListTaskDefinitionsresults with. Specifying afamilyPrefixlimits the listed task definitions to task definition revisions that belong to that family.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ListTaskDefinitionsRequest.Builder status(String status)
The task definition status to filter the
ListTaskDefinitionsresults with. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Parameters:
status- The task definition status to filter theListTaskDefinitionsresults with. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskDefinitionStatus,TaskDefinitionStatus
-
status
ListTaskDefinitionsRequest.Builder status(TaskDefinitionStatus status)
The task definition status to filter the
ListTaskDefinitionsresults with. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Parameters:
status- The task definition status to filter theListTaskDefinitionsresults with. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskDefinitionStatus,TaskDefinitionStatus
-
sort
ListTaskDefinitionsRequest.Builder sort(String sort)
The order to sort the results in. Valid values are
ASCandDESC. By default, (ASC) task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision. This is so that the newest task definitions in a family are listed first.- Parameters:
sort- The order to sort the results in. Valid values areASCandDESC. By default, (ASC) task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision. This is so that the newest task definitions in a family are listed first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SortOrder,SortOrder
-
sort
ListTaskDefinitionsRequest.Builder sort(SortOrder sort)
The order to sort the results in. Valid values are
ASCandDESC. By default, (ASC) task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision. This is so that the newest task definitions in a family are listed first.- Parameters:
sort- The order to sort the results in. Valid values areASCandDESC. By default, (ASC) task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision. This is so that the newest task definitions in a family are listed first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SortOrder,SortOrder
-
nextToken
ListTaskDefinitionsRequest.Builder nextToken(String nextToken)
The
nextTokenvalue returned from aListTaskDefinitionsrequest indicating that more results are available to fulfill the request and further calls will be needed. IfmaxResultswas provided, it is possible the number of results to be fewer thanmaxResults.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken- ThenextTokenvalue returned from aListTaskDefinitionsrequest indicating that more results are available to fulfill the request and further calls will be needed. IfmaxResultswas provided, it is possible the number of results to be fewer thanmaxResults.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListTaskDefinitionsRequest.Builder maxResults(Integer maxResults)
The maximum number of task definition results that
ListTaskDefinitionsreturned in paginated output. When this parameter is used,ListTaskDefinitionsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListTaskDefinitionsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenListTaskDefinitionsreturns up to 100 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of task definition results thatListTaskDefinitionsreturned in paginated output. When this parameter is used,ListTaskDefinitionsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListTaskDefinitionsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenListTaskDefinitionsreturns up to 100 results and anextTokenvalue if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListTaskDefinitionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListTaskDefinitionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-