Interface DeleteTrustAnchorResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteTrustAnchorResponse.Builder,DeleteTrustAnchorResponse>
,RolesAnywhereResponse.Builder
,SdkBuilder<DeleteTrustAnchorResponse.Builder,DeleteTrustAnchorResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DeleteTrustAnchorResponse
public static interface DeleteTrustAnchorResponse.Builder extends RolesAnywhereResponse.Builder, SdkPojo, CopyableBuilder<DeleteTrustAnchorResponse.Builder,DeleteTrustAnchorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeleteTrustAnchorResponse.Builder
trustAnchor(Consumer<TrustAnchorDetail.Builder> trustAnchor)
The state of the trust anchor after a read or write operation.DeleteTrustAnchorResponse.Builder
trustAnchor(TrustAnchorDetail trustAnchor)
The state of the trust anchor after a read or write operation.-
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
-
trustAnchor
DeleteTrustAnchorResponse.Builder trustAnchor(TrustAnchorDetail trustAnchor)
The state of the trust anchor after a read or write operation.
- Parameters:
trustAnchor
- The state of the trust anchor after a read or write operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustAnchor
default DeleteTrustAnchorResponse.Builder trustAnchor(Consumer<TrustAnchorDetail.Builder> trustAnchor)
The state of the trust anchor after a read or write operation.
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 totrustAnchor(TrustAnchorDetail)
.- Parameters:
trustAnchor
- 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:
trustAnchor(TrustAnchorDetail)
-
-