public static interface DescribeAttackResponse.Builder extends ShieldResponse.Builder, SdkPojo, CopyableBuilder<DescribeAttackResponse.Builder,DescribeAttackResponse>
Modifier and Type | Method and Description |
---|---|
DescribeAttackResponse.Builder |
attack(AttackDetail attack)
The attack that is described.
|
default DescribeAttackResponse.Builder |
attack(Consumer<AttackDetail.Builder> attack)
The attack that is described.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeAttackResponse.Builder attack(AttackDetail attack)
The attack that is described.
attack
- The attack that is described.default DescribeAttackResponse.Builder attack(Consumer<AttackDetail.Builder> attack)
The attack that is described.
This is a convenience that creates an instance of theAttackDetail.Builder
avoiding the need to
create one manually via AttackDetail.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to attack(AttackDetail)
.attack
- a consumer that will call methods on AttackDetail.Builder
attack(AttackDetail)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.