public static interface DeclineHandshakeResponse.Builder extends OrganizationsResponse.Builder, CopyableBuilder<DeclineHandshakeResponse.Builder,DeclineHandshakeResponse>
Modifier and Type | Method and Description |
---|---|
default DeclineHandshakeResponse.Builder |
handshake(Consumer<Handshake.Builder> handshake)
A structure that contains details about the declined handshake.
|
DeclineHandshakeResponse.Builder |
handshake(Handshake handshake)
A structure that contains details about the declined handshake.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DeclineHandshakeResponse.Builder handshake(Handshake handshake)
A structure that contains details about the declined handshake. The state is updated to show the value
DECLINED
.
handshake
- A structure that contains details about the declined handshake. The state is updated to show the value
DECLINED
.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
DECLINED
.
Handshake.Builder
avoiding the need to create
one manually via Handshake.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to handshake(Handshake)
.handshake
- a consumer that will call methods on Handshake.Builder
handshake(Handshake)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.