Interface DeclineHandshakeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeclineHandshakeResponse.Builder,DeclineHandshakeResponse>,OrganizationsResponse.Builder,SdkBuilder<DeclineHandshakeResponse.Builder,DeclineHandshakeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DeclineHandshakeResponse
public static interface DeclineHandshakeResponse.Builder extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<DeclineHandshakeResponse.Builder,DeclineHandshakeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeclineHandshakeResponse.Builderhandshake(Consumer<Handshake.Builder> handshake)A structure that contains details about the declined handshake.DeclineHandshakeResponse.Builderhandshake(Handshake handshake)A structure that contains details about the declined handshake.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
handshake
DeclineHandshakeResponse.Builder handshake(Handshake handshake)
A structure that contains details about the declined handshake. The state is updated to show the value
DECLINED.- Parameters:
handshake- A structure that contains details about the declined handshake. The state is updated to show the valueDECLINED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
handshake
default DeclineHandshakeResponse.Builder handshake(Consumer<Handshake.Builder> handshake)
A structure that contains details about the declined handshake. The state is updated to show the value
This is a convenience method that creates an instance of theDECLINED.Handshake.Builderavoiding the need to create one manually viaHandshake.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohandshake(Handshake).- Parameters:
handshake- a consumer that will call methods onHandshake.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
handshake(Handshake)
-
-