Interface PutNotificationSettingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutNotificationSettingsResponse.Builder,,PutNotificationSettingsResponse> RolesAnywhereResponse.Builder,SdkBuilder<PutNotificationSettingsResponse.Builder,,PutNotificationSettingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutNotificationSettingsResponse
@Mutable
@NotThreadSafe
public static interface PutNotificationSettingsResponse.Builder
extends RolesAnywhereResponse.Builder, SdkPojo, CopyableBuilder<PutNotificationSettingsResponse.Builder,PutNotificationSettingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontrustAnchor(Consumer<TrustAnchorDetail.Builder> trustAnchor) Sets the value of the TrustAnchor property for this object.trustAnchor(TrustAnchorDetail trustAnchor) Sets the value of the TrustAnchor property for this object.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
trustAnchor
Sets the value of the TrustAnchor property for this object.- Parameters:
trustAnchor- The new value for the TrustAnchor property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustAnchor
default PutNotificationSettingsResponse.Builder trustAnchor(Consumer<TrustAnchorDetail.Builder> trustAnchor) Sets the value of the TrustAnchor property for this object. 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 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:
-