public static interface DescribeMaintenanceWindowsForTargetRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<DescribeMaintenanceWindowsForTargetRequest.Builder,DescribeMaintenanceWindowsForTargetRequest>
build
overrideConfiguration
copy
applyMutation, build
DescribeMaintenanceWindowsForTargetRequest.Builder targets(Collection<Target> targets)
The instance ID or key/value pair to retrieve information about.
targets
- The instance ID or key/value pair to retrieve information about.DescribeMaintenanceWindowsForTargetRequest.Builder targets(Target... targets)
The instance ID or key/value pair to retrieve information about.
targets
- The instance ID or key/value pair to retrieve information about.DescribeMaintenanceWindowsForTargetRequest.Builder targets(Consumer<Target.Builder>... targets)
The instance ID or key/value pair to retrieve information about.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #targets(List)
.targets
- a consumer that will call methods on List.Builder
#targets(List)
DescribeMaintenanceWindowsForTargetRequest.Builder resourceType(String resourceType)
The type of resource you want to retrieve information about. For example, "INSTANCE".
resourceType
- The type of resource you want to retrieve information about. For example, "INSTANCE".MaintenanceWindowResourceType
,
MaintenanceWindowResourceType
DescribeMaintenanceWindowsForTargetRequest.Builder resourceType(MaintenanceWindowResourceType resourceType)
The type of resource you want to retrieve information about. For example, "INSTANCE".
resourceType
- The type of resource you want to retrieve information about. For example, "INSTANCE".MaintenanceWindowResourceType
,
MaintenanceWindowResourceType
DescribeMaintenanceWindowsForTargetRequest.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.
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.DescribeMaintenanceWindowsForTargetRequest.Builder nextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)DescribeMaintenanceWindowsForTargetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DescribeMaintenanceWindowsForTargetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.