Interface ListTrustAnchorsResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListTrustAnchorsResponse.Builder,,- ListTrustAnchorsResponse> - RolesAnywhereResponse.Builder,- SdkBuilder<ListTrustAnchorsResponse.Builder,,- ListTrustAnchorsResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListTrustAnchorsResponse
@Mutable
@NotThreadSafe
public static interface ListTrustAnchorsResponse.Builder
extends RolesAnywhereResponse.Builder, SdkPojo, CopyableBuilder<ListTrustAnchorsResponse.Builder,ListTrustAnchorsResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.rolesanywhere.model.RolesAnywhereResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
nextTokenA 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.
 
- 
trustAnchorsA 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.
 
- 
trustAnchorsA 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.
 
- 
trustAnchorsA 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 on- TrustAnchorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-