@Generated(value="software.amazon.awssdk:codegen") public final class DescribeWorkspacesRequest extends WorkSpacesRequest implements ToCopyableBuilder<DescribeWorkspacesRequest.Builder,DescribeWorkspacesRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeWorkspacesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeWorkspacesRequest.Builder |
builder() |
String |
bundleId()
The identifier of the bundle.
|
String |
directoryId()
The identifier of the directory.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
limit()
The maximum number of items to return.
|
String |
nextToken()
If you received a
NextToken from a previous call that was paginated, provide this token to receive
the next set of results. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeWorkspacesRequest.Builder> |
serializableBuilderClass() |
DescribeWorkspacesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userName()
The name of the directory user.
|
List<String> |
workspaceIds()
The identifiers of the WorkSpaces.
|
overrideConfiguration
copy
public List<String> workspaceIds()
The identifiers of the WorkSpaces. You cannot combine this parameter with any other filter.
Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned.
public String directoryId()
The identifier of the directory. In addition, you can optionally specify a specific directory user (see
UserName
). You cannot combine this parameter with any other filter.
UserName
). You cannot combine this parameter with any other filter.public String userName()
The name of the directory user. You must specify this parameter with DirectoryId
.
DirectoryId
.public String bundleId()
The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.
public Integer limit()
The maximum number of items to return.
public String nextToken()
If you received a NextToken
from a previous call that was paginated, provide this token to receive
the next set of results.
NextToken
from a previous call that was paginated, provide this token to
receive the next set of results.public DescribeWorkspacesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeWorkspacesRequest.Builder,DescribeWorkspacesRequest>
toBuilder
in class WorkSpacesRequest
public static DescribeWorkspacesRequest.Builder builder()
public static Class<? extends DescribeWorkspacesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.