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
Modifier and TypeMethodDescriptionA token that indicates where the output should continue from, if a previous request did not show all results.trustAnchors(Collection<TrustAnchorDetail> trustAnchors) A list of trust anchors.trustAnchors(Consumer<TrustAnchorDetail.Builder>... trustAnchors) A list of trust anchors.trustAnchors(TrustAnchorDetail... trustAnchors) A list of trust anchors.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rolesanywhere.model.RolesAnywhereResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
A list of trust anchors.
This is a convenience method that creates an instance of theTrustAnchorDetail.Builderavoiding the need to create one manually viaTrustAnchorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrustAnchors(List<TrustAnchorDetail>).- 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:
-