public static interface EnablePolicyTypeResponse.Builder extends OrganizationsResponse.Builder, CopyableBuilder<EnablePolicyTypeResponse.Builder,EnablePolicyTypeResponse>
Modifier and Type | Method and Description |
---|---|
default EnablePolicyTypeResponse.Builder |
root(Consumer<Root.Builder> root)
A structure that shows the root with the updated list of enabled policy types.
|
EnablePolicyTypeResponse.Builder |
root(Root root)
A structure that shows the root with the updated list of enabled policy types.
|
build
copy
apply, build
EnablePolicyTypeResponse.Builder root(Root root)
A structure that shows the root with the updated list of enabled policy types.
root
- A structure that shows the root with the updated list of enabled policy types.default EnablePolicyTypeResponse.Builder root(Consumer<Root.Builder> root)
A structure that shows the root with the updated list of enabled policy types.
This is a convenience that creates an instance of theRoot.Builder
avoiding the need to create one
manually via Root.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to root(Root)
.root
- a consumer that will call methods on Root.Builder
root(Root)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.