Interface DescribeMaintenanceWindowTargetsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeMaintenanceWindowTargetsRequest.Builder,DescribeMaintenanceWindowTargetsRequest>,SdkBuilder<DescribeMaintenanceWindowTargetsRequest.Builder,DescribeMaintenanceWindowTargetsRequest>,SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
- DescribeMaintenanceWindowTargetsRequest
public static interface DescribeMaintenanceWindowTargetsRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<DescribeMaintenanceWindowTargetsRequest.Builder,DescribeMaintenanceWindowTargetsRequest>
-
-
Method Summary
-
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 Detail
-
windowId
DescribeMaintenanceWindowTargetsRequest.Builder windowId(String windowId)
The ID of the maintenance window whose targets should be retrieved.
- Parameters:
windowId- The ID of the maintenance window whose targets should be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeMaintenanceWindowTargetsRequest.Builder filters(Collection<MaintenanceWindowFilter> filters)
Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are
Type,WindowTargetId, andOwnerInformation.- Parameters:
filters- Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys areType,WindowTargetId, andOwnerInformation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeMaintenanceWindowTargetsRequest.Builder filters(MaintenanceWindowFilter... filters)
Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are
Type,WindowTargetId, andOwnerInformation.- Parameters:
filters- Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys areType,WindowTargetId, andOwnerInformation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeMaintenanceWindowTargetsRequest.Builder filters(Consumer<MaintenanceWindowFilter.Builder>... filters)
Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are
This is a convenience method that creates an instance of theType,WindowTargetId, andOwnerInformation.MaintenanceWindowFilter.Builderavoiding the need to create one manually viaMaintenanceWindowFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onMaintenanceWindowFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
maxResults
DescribeMaintenanceWindowTargetsRequest.Builder maxResults(Integer 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
DescribeMaintenanceWindowTargetsRequest.Builder nextToken(String 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
DescribeMaintenanceWindowTargetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeMaintenanceWindowTargetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-