Interface DisassociateNetworkScopePrincipalResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisassociateNetworkScopePrincipalResponse.Builder,,DisassociateNetworkScopePrincipalResponse> NetworkManagerResponse.Builder,SdkBuilder<DisassociateNetworkScopePrincipalResponse.Builder,,DisassociateNetworkScopePrincipalResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DisassociateNetworkScopePrincipalResponse
-
Method Summary
Modifier and TypeMethodDescriptionnetworkScopeId(String networkScopeId) The ID of the network scope.The principal.The state of the principal, which isDISASSOCIATINGwhile the principal is being removed.state(NetworkScopePrincipalState state) The state of the principal, which isDISASSOCIATINGwhile the principal is being removed.stateReason(Consumer<NetworkScopePrincipalStateReason.Builder> stateReason) The reason for the current state of the principal, if a reason applies.stateReason(NetworkScopePrincipalStateReason stateReason) The reason for the current state of the principal, if a reason applies.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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
-
networkScopeId
The ID of the network scope.
- Parameters:
networkScopeId- The ID of the network scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal.
- Parameters:
principal- The principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the principal, which is
DISASSOCIATINGwhile the principal is being removed.- Parameters:
state- The state of the principal, which isDISASSOCIATINGwhile the principal is being removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the principal, which is
DISASSOCIATINGwhile the principal is being removed.- Parameters:
state- The state of the principal, which isDISASSOCIATINGwhile the principal is being removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
DisassociateNetworkScopePrincipalResponse.Builder stateReason(NetworkScopePrincipalStateReason stateReason) The reason for the current state of the principal, if a reason applies. A reason is included only when the removal has already started and is blocked by a prerequisite that you must complete.
- Parameters:
stateReason- The reason for the current state of the principal, if a reason applies. A reason is included only when the removal has already started and is blocked by a prerequisite that you must complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
default DisassociateNetworkScopePrincipalResponse.Builder stateReason(Consumer<NetworkScopePrincipalStateReason.Builder> stateReason) The reason for the current state of the principal, if a reason applies. A reason is included only when the removal has already started and is blocked by a prerequisite that you must complete.
This is a convenience method that creates an instance of theNetworkScopePrincipalStateReason.Builderavoiding the need to create one manually viaNetworkScopePrincipalStateReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateReason(NetworkScopePrincipalStateReason).- Parameters:
stateReason- a consumer that will call methods onNetworkScopePrincipalStateReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-