Interface AuthorizeClientVpnIngressResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AuthorizeClientVpnIngressResponse.Builder,,AuthorizeClientVpnIngressResponse> Ec2Response.Builder,SdkBuilder<AuthorizeClientVpnIngressResponse.Builder,,AuthorizeClientVpnIngressResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AuthorizeClientVpnIngressResponse
@Mutable
@NotThreadSafe
public static interface AuthorizeClientVpnIngressResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AuthorizeClientVpnIngressResponse.Builder,AuthorizeClientVpnIngressResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe current state of the authorization rule.The current state of the authorization rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
status
The current state of the authorization rule.
- Parameters:
status- The current state of the authorization rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default AuthorizeClientVpnIngressResponse.Builder status(Consumer<ClientVpnAuthorizationRuleStatus.Builder> status) The current state of the authorization rule.
This is a convenience method that creates an instance of theClientVpnAuthorizationRuleStatus.Builderavoiding the need to create one manually viaClientVpnAuthorizationRuleStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(ClientVpnAuthorizationRuleStatus).- Parameters:
status- a consumer that will call methods onClientVpnAuthorizationRuleStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-