@NotThreadSafe public static final class ImmutableListEntitiesRequest.Builder extends Object
ImmutableListEntitiesRequest.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ImmutableListEntitiesRequest |
build()
Builds a new
ImmutableListEntitiesRequest. |
ImmutableListEntitiesRequest.Builder |
connectorContext(ConnectorContext connectorContext)
Initializes the value for the
connectorContext attribute. |
ImmutableListEntitiesRequest.Builder |
entitiesPath(String entitiesPath)
Initializes the value for the
entitiesPath attribute. |
ImmutableListEntitiesRequest.Builder |
from(ListEntitiesRequest instance)
Fill a builder with attribute values from the provided
ListEntitiesRequest instance. |
ImmutableListEntitiesRequest.Builder |
maxResult(Long maxResult)
Initializes the value for the
maxResult attribute. |
ImmutableListEntitiesRequest.Builder |
nextToken(String nextToken)
Initializes the value for the
nextToken attribute. |
public final ImmutableListEntitiesRequest.Builder from(ListEntitiesRequest instance)
ListEntitiesRequest instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableListEntitiesRequest.Builder entitiesPath(@Nullable String entitiesPath)
entitiesPath attribute.entitiesPath - The value for entitiesPath (can be null)this builder for use in a chained invocationpublic final ImmutableListEntitiesRequest.Builder maxResult(@Nullable Long maxResult)
maxResult attribute.
If not set, this attribute will have a default value as returned by the initializer of maxResult.
maxResult - The value for maxResult (can be null)this builder for use in a chained invocationpublic final ImmutableListEntitiesRequest.Builder nextToken(@Nullable String nextToken)
nextToken attribute.nextToken - The value for nextToken (can be null)this builder for use in a chained invocationpublic final ImmutableListEntitiesRequest.Builder connectorContext(ConnectorContext connectorContext)
connectorContext attribute.connectorContext - The value for connectorContextthis builder for use in a chained invocationpublic ImmutableListEntitiesRequest build()
ImmutableListEntitiesRequest.IllegalStateException - if any required attributes are missingCopyright © 2021–2022 Amazon Web Services. All rights reserved.