Interface DescribeMaintenanceWindowsForTargetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeMaintenanceWindowsForTargetRequest.Builder,
,DescribeMaintenanceWindowsForTargetRequest> SdkBuilder<DescribeMaintenanceWindowsForTargetRequest.Builder,
,DescribeMaintenanceWindowsForTargetRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
DescribeMaintenanceWindowsForTargetRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of items to return for this call.The token for the next set of items to return.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceType
(String resourceType) The type of resource you want to retrieve information about.resourceType
(MaintenanceWindowResourceType resourceType) The type of resource you want to retrieve information about.targets
(Collection<Target> targets) The managed node ID or key-value pair to retrieve information about.targets
(Consumer<Target.Builder>... targets) The managed node ID or key-value pair to retrieve information about.The managed node ID or key-value pair to retrieve information about.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
targets
The managed node ID or key-value pair to retrieve information about.
- Parameters:
targets
- The managed node ID or key-value pair to retrieve information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The managed node ID or key-value pair to retrieve information about.
- Parameters:
targets
- The managed node ID or key-value pair to retrieve information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The managed node ID or key-value pair to retrieve information about.
This is a convenience method that creates an instance of theTarget.Builder
avoiding the need to create one manually viaTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargets(List<Target>)
.- Parameters:
targets
- a consumer that will call methods onTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of resource you want to retrieve information about. For example,
INSTANCE
.- Parameters:
resourceType
- The type of resource you want to retrieve information about. For example,INSTANCE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
DescribeMaintenanceWindowsForTargetRequest.Builder resourceType(MaintenanceWindowResourceType resourceType) The type of resource you want to retrieve information about. For example,
INSTANCE
.- Parameters:
resourceType
- The type of resource you want to retrieve information about. For example,INSTANCE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Parameters:
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeMaintenanceWindowsForTargetRequest.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
DescribeMaintenanceWindowsForTargetRequest.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.
-