Interface ListNamespacesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNamespacesResponse.Builder,ListNamespacesResponse>,QuickSightResponse.Builder,SdkBuilder<ListNamespacesResponse.Builder,ListNamespacesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListNamespacesResponse
public static interface ListNamespacesResponse.Builder extends QuickSightResponse.Builder, SdkPojo, CopyableBuilder<ListNamespacesResponse.Builder,ListNamespacesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListNamespacesResponse.Buildernamespaces(Collection<NamespaceInfoV2> namespaces)The information about the namespaces in this Amazon Web Services account.ListNamespacesResponse.Buildernamespaces(Consumer<NamespaceInfoV2.Builder>... namespaces)The information about the namespaces in this Amazon Web Services account.ListNamespacesResponse.Buildernamespaces(NamespaceInfoV2... namespaces)The information about the namespaces in this Amazon Web Services account.ListNamespacesResponse.BuildernextToken(String nextToken)A unique pagination token that can be used in a subsequent request.ListNamespacesResponse.BuilderrequestId(String requestId)The Amazon Web Services request ID for this operation.ListNamespacesResponse.Builderstatus(Integer status)The HTTP status of the request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
namespaces
ListNamespacesResponse.Builder namespaces(Collection<NamespaceInfoV2> namespaces)
The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.
- Parameters:
namespaces- The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
ListNamespacesResponse.Builder namespaces(NamespaceInfoV2... namespaces)
The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.
- Parameters:
namespaces- The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
ListNamespacesResponse.Builder namespaces(Consumer<NamespaceInfoV2.Builder>... namespaces)
The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.
This is a convenience method that creates an instance of theNamespaceInfoV2.Builderavoiding the need to create one manually viaNamespaceInfoV2.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#namespaces(List.) - Parameters:
namespaces- a consumer that will call methods onNamespaceInfoV2.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#namespaces(java.util.Collection)
-
nextToken
ListNamespacesResponse.Builder nextToken(String nextToken)
A unique pagination token that can be used in a subsequent request. Receiving
NextTokenin your response inticates that there is more data that can be returned. To receive the data, make anotherListNamespacesAPI call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make aListNamespacesAPI call with an expired token, you will receive aHTTP 400 InvalidNextTokenExceptionerror.- Parameters:
nextToken- A unique pagination token that can be used in a subsequent request. ReceivingNextTokenin your response inticates that there is more data that can be returned. To receive the data, make anotherListNamespacesAPI call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make aListNamespacesAPI call with an expired token, you will receive aHTTP 400 InvalidNextTokenExceptionerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestId
ListNamespacesResponse.Builder requestId(String requestId)
The Amazon Web Services request ID for this operation.
- Parameters:
requestId- The Amazon Web Services request ID for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ListNamespacesResponse.Builder status(Integer status)
The HTTP status of the request.
- Parameters:
status- The HTTP status of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-