Interface ListSyncResourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListSyncResourcesRequest.Builder,
,ListSyncResourcesRequest> IoTTwinMakerRequest.Builder
,SdkBuilder<ListSyncResourcesRequest.Builder,
,ListSyncResourcesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListSyncResourcesRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<SyncResourceFilter> filters) A list of objects that filter the request.filters
(Consumer<SyncResourceFilter.Builder>... filters) A list of objects that filter the request.filters
(SyncResourceFilter... filters) A list of objects that filter the request.maxResults
(Integer maxResults) The maximum number of results to return at one time.The string that specifies the next page of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.syncSource
(String syncSource) The sync source.workspaceId
(String workspaceId) The ID of the workspace that contains the sync job.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.iottwinmaker.model.IoTTwinMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
workspaceId
The ID of the workspace that contains the sync job.
- Parameters:
workspaceId
- The ID of the workspace that contains the sync job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncSource
The sync source.
Currently the only supported syncSource is
SITEWISE
.- Parameters:
syncSource
- The sync source.Currently the only supported syncSource is
SITEWISE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A list of objects that filter the request.
The following filter combinations are supported:
-
Filter with state
-
Filter with ResourceType and ResourceId
-
Filter with ResourceType and ExternalId
- Parameters:
filters
- A list of objects that filter the request.The following filter combinations are supported:
-
Filter with state
-
Filter with ResourceType and ResourceId
-
Filter with ResourceType and ExternalId
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
A list of objects that filter the request.
The following filter combinations are supported:
-
Filter with state
-
Filter with ResourceType and ResourceId
-
Filter with ResourceType and ExternalId
- Parameters:
filters
- A list of objects that filter the request.The following filter combinations are supported:
-
Filter with state
-
Filter with ResourceType and ResourceId
-
Filter with ResourceType and ExternalId
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
A list of objects that filter the request.
The following filter combinations are supported:
-
Filter with state
-
Filter with ResourceType and ResourceId
-
Filter with ResourceType and ExternalId
SyncResourceFilter.Builder
avoiding the need to create one manually viaSyncResourceFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<SyncResourceFilter>)
.- Parameters:
filters
- a consumer that will call methods onSyncResourceFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
maxResults
The maximum number of results to return at one time. The default is 50.
Valid Range: Minimum value of 0. Maximum value of 200.
- Parameters:
maxResults
- The maximum number of results to return at one time. The default is 50.Valid Range: Minimum value of 0. Maximum value of 200.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The string that specifies the next page of results.
- Parameters:
nextToken
- The string that specifies the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListSyncResourcesRequest.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
ListSyncResourcesRequest.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.
-