Interface ListOnPremisesInstancesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeDeployRequest.Builder
,CopyableBuilder<ListOnPremisesInstancesRequest.Builder,
,ListOnPremisesInstancesRequest> SdkBuilder<ListOnPremisesInstancesRequest.Builder,
,ListOnPremisesInstancesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListOnPremisesInstancesRequest
-
Method Summary
Modifier and TypeMethodDescriptionAn identifier returned from the previous list on-premises instances call.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.registrationStatus
(String registrationStatus) The registration status of the on-premises instances:registrationStatus
(RegistrationStatus registrationStatus) The registration status of the on-premises instances:tagFilters
(Collection<TagFilter> tagFilters) The on-premises instance tags that are used to restrict the on-premises instance names returned.tagFilters
(Consumer<TagFilter.Builder>... tagFilters) The on-premises instance tags that are used to restrict the on-premises instance names returned.tagFilters
(TagFilter... tagFilters) The on-premises instance tags that are used to restrict the on-premises instance names returned.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployRequest.Builder
build
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 Details
-
registrationStatus
The registration status of the on-premises instances:
-
Deregistered
: Include deregistered on-premises instances in the resulting list. -
Registered
: Include registered on-premises instances in the resulting list.
- Parameters:
registrationStatus
- The registration status of the on-premises instances:-
Deregistered
: Include deregistered on-premises instances in the resulting list. -
Registered
: Include registered on-premises instances in the resulting list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
registrationStatus
The registration status of the on-premises instances:
-
Deregistered
: Include deregistered on-premises instances in the resulting list. -
Registered
: Include registered on-premises instances in the resulting list.
- Parameters:
registrationStatus
- The registration status of the on-premises instances:-
Deregistered
: Include deregistered on-premises instances in the resulting list. -
Registered
: Include registered on-premises instances in the resulting list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
tagFilters
The on-premises instance tags that are used to restrict the on-premises instance names returned.
- Parameters:
tagFilters
- The on-premises instance tags that are used to restrict the on-premises instance names returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilters
The on-premises instance tags that are used to restrict the on-premises instance names returned.
- Parameters:
tagFilters
- The on-premises instance tags that are used to restrict the on-premises instance names returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilters
The on-premises instance tags that are used to restrict the on-premises instance names returned.
This is a convenience method that creates an instance of theTagFilter.Builder
avoiding the need to create one manually viaTagFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagFilters(List<TagFilter>)
.- Parameters:
tagFilters
- a consumer that will call methods onTagFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.
- Parameters:
nextToken
- An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListOnPremisesInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListOnPremisesInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-