Interface ListSyncResourcesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListSyncResourcesRequest.Builder,ListSyncResourcesRequest>,IoTTwinMakerRequest.Builder,SdkBuilder<ListSyncResourcesRequest.Builder,ListSyncResourcesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListSyncResourcesRequest
public static interface ListSyncResourcesRequest.Builder extends IoTTwinMakerRequest.Builder, SdkPojo, CopyableBuilder<ListSyncResourcesRequest.Builder,ListSyncResourcesRequest>
-
-
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.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, sdkFields
-
-
-
-
Method Detail
-
workspaceId
ListSyncResourcesRequest.Builder workspaceId(String 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
ListSyncResourcesRequest.Builder syncSource(String 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
ListSyncResourcesRequest.Builder filters(Collection<SyncResourceFilter> 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
ListSyncResourcesRequest.Builder filters(SyncResourceFilter... 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
ListSyncResourcesRequest.Builder filters(Consumer<SyncResourceFilter.Builder>... 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.Builderavoiding the need to create one manually viaSyncResourceFilter.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 onSyncResourceFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
-
maxResults
ListSyncResourcesRequest.Builder maxResults(Integer 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
ListSyncResourcesRequest.Builder nextToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListSyncResourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-