Interface ListTrustAnchorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTrustAnchorsResponse.Builder,ListTrustAnchorsResponse>
,RolesAnywhereResponse.Builder
,SdkBuilder<ListTrustAnchorsResponse.Builder,ListTrustAnchorsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListTrustAnchorsResponse
public static interface ListTrustAnchorsResponse.Builder extends RolesAnywhereResponse.Builder, SdkPojo, CopyableBuilder<ListTrustAnchorsResponse.Builder,ListTrustAnchorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTrustAnchorsResponse.Builder
nextToken(String nextToken)
A token that indicates where the output should continue from, if a previous request did not show all results.ListTrustAnchorsResponse.Builder
trustAnchors(Collection<TrustAnchorDetail> trustAnchors)
A list of trust anchors.ListTrustAnchorsResponse.Builder
trustAnchors(Consumer<TrustAnchorDetail.Builder>... trustAnchors)
A list of trust anchors.ListTrustAnchorsResponse.Builder
trustAnchors(TrustAnchorDetail... trustAnchors)
A list of trust anchors.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rolesanywhere.model.RolesAnywhereResponse.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
-
nextToken
ListTrustAnchorsResponse.Builder nextToken(String nextToken)
A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.
- Parameters:
nextToken
- A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustAnchors
ListTrustAnchorsResponse.Builder trustAnchors(Collection<TrustAnchorDetail> trustAnchors)
A list of trust anchors.
- Parameters:
trustAnchors
- A list of trust anchors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustAnchors
ListTrustAnchorsResponse.Builder trustAnchors(TrustAnchorDetail... trustAnchors)
A list of trust anchors.
- Parameters:
trustAnchors
- A list of trust anchors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustAnchors
ListTrustAnchorsResponse.Builder trustAnchors(Consumer<TrustAnchorDetail.Builder>... trustAnchors)
A list of trust anchors.
This is a convenience method that creates an instance of theTrustAnchorDetail.Builder
avoiding the need to create one manually viaTrustAnchorDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#trustAnchors(List
.) - Parameters:
trustAnchors
- a consumer that will call methods onTrustAnchorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#trustAnchors(java.util.Collection
)
-
-