Interface EnablePolicyTypeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<EnablePolicyTypeResponse.Builder,EnablePolicyTypeResponse>,OrganizationsResponse.Builder,SdkBuilder<EnablePolicyTypeResponse.Builder,EnablePolicyTypeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- EnablePolicyTypeResponse
public static interface EnablePolicyTypeResponse.Builder extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<EnablePolicyTypeResponse.Builder,EnablePolicyTypeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EnablePolicyTypeResponse.Builderroot(Consumer<Root.Builder> root)A structure that shows the root with the updated list of enabled policy types.EnablePolicyTypeResponse.Builderroot(Root root)A structure that shows the root with the updated list of enabled policy types.-
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
-
root
EnablePolicyTypeResponse.Builder root(Root root)
A structure that shows the root with the updated list of enabled policy types.
- Parameters:
root- A structure that shows the root with the updated list of enabled policy types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
root
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 method that creates an instance of theRoot.Builderavoiding the need to create one manually viaRoot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroot(Root).- Parameters:
root- a consumer that will call methods onRoot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
root(Root)
-
-