Interface ViewerMtlsConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ViewerMtlsConfig.Builder,,ViewerMtlsConfig> SdkBuilder<ViewerMtlsConfig.Builder,,ViewerMtlsConfig> SdkPojo
- Enclosing class:
ViewerMtlsConfig
@Mutable
@NotThreadSafe
public static interface ViewerMtlsConfig.Builder
extends SdkPojo, CopyableBuilder<ViewerMtlsConfig.Builder,ViewerMtlsConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe viewer mTLS mode.mode(ViewerMtlsMode mode) The viewer mTLS mode.default ViewerMtlsConfig.BuildertrustStoreConfig(Consumer<TrustStoreConfig.Builder> trustStoreConfig) The trust store configuration associated with the viewer mTLS configuration.trustStoreConfig(TrustStoreConfig trustStoreConfig) The trust store configuration associated with the viewer mTLS configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
mode
The viewer mTLS mode.
- Parameters:
mode- The viewer mTLS mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
The viewer mTLS mode.
- Parameters:
mode- The viewer mTLS mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trustStoreConfig
The trust store configuration associated with the viewer mTLS configuration.
- Parameters:
trustStoreConfig- The trust store configuration associated with the viewer mTLS configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustStoreConfig
default ViewerMtlsConfig.Builder trustStoreConfig(Consumer<TrustStoreConfig.Builder> trustStoreConfig) The trust store configuration associated with the viewer mTLS configuration.
This is a convenience method that creates an instance of theTrustStoreConfig.Builderavoiding the need to create one manually viaTrustStoreConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrustStoreConfig(TrustStoreConfig).- Parameters:
trustStoreConfig- a consumer that will call methods onTrustStoreConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-