Interface DevicePostureOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DevicePostureOptions.Builder,,DevicePostureOptions> SdkBuilder<DevicePostureOptions.Builder,,DevicePostureOptions> SdkPojo
- Enclosing class:
DevicePostureOptions
@Mutable
@NotThreadSafe
public static interface DevicePostureOptions.Builder
extends SdkPojo, CopyableBuilder<DevicePostureOptions.Builder,DevicePostureOptions>
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether device posture evaluation is enabled for the Client VPN endpoint.trustProviders(Collection<ClientVpnTrustProviderRequest> trustProviders) The device trust providers to configure for the Client VPN endpoint.trustProviders(Consumer<ClientVpnTrustProviderRequest.Builder>... trustProviders) The device trust providers to configure for the Client VPN endpoint.trustProviders(ClientVpnTrustProviderRequest... trustProviders) The device trust providers to configure for the Client VPN endpoint.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
-
trustProviders
DevicePostureOptions.Builder trustProviders(Collection<ClientVpnTrustProviderRequest> trustProviders) The device trust providers to configure for the Client VPN endpoint.
- Parameters:
trustProviders- The device trust providers to configure for the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustProviders
The device trust providers to configure for the Client VPN endpoint.
- Parameters:
trustProviders- The device trust providers to configure for the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustProviders
DevicePostureOptions.Builder trustProviders(Consumer<ClientVpnTrustProviderRequest.Builder>... trustProviders) The device trust providers to configure for the Client VPN endpoint.
This is a convenience method that creates an instance of theClientVpnTrustProviderRequest.Builderavoiding the need to create one manually viaClientVpnTrustProviderRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrustProviders(List<ClientVpnTrustProviderRequest>).- Parameters:
trustProviders- a consumer that will call methods onClientVpnTrustProviderRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enabled
Indicates whether device posture evaluation is enabled for the Client VPN endpoint. Specify
falseto disable device posture, which clears the configured device trust providers.- Parameters:
enabled- Indicates whether device posture evaluation is enabled for the Client VPN endpoint. Specifyfalseto disable device posture, which clears the configured device trust providers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-