Interface GetIpamPolicyOrganizationTargetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetIpamPolicyOrganizationTargetsResponse.Builder,,GetIpamPolicyOrganizationTargetsResponse> Ec2Response.Builder,SdkBuilder<GetIpamPolicyOrganizationTargetsResponse.Builder,,GetIpamPolicyOrganizationTargetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetIpamPolicyOrganizationTargetsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.organizationTargets(Collection<IpamPolicyOrganizationTarget> organizationTargets) The IDs of the Amazon Web Services Organizations targets.organizationTargets(Consumer<IpamPolicyOrganizationTarget.Builder>... organizationTargets) The IDs of the Amazon Web Services Organizations targets.organizationTargets(IpamPolicyOrganizationTarget... organizationTargets) The IDs of the Amazon Web Services Organizations targets.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
organizationTargets
GetIpamPolicyOrganizationTargetsResponse.Builder organizationTargets(Collection<IpamPolicyOrganizationTarget> organizationTargets) The IDs of the Amazon Web Services Organizations targets.
A target can be an individual Amazon Web Services account or an entity within an Amazon Web Services Organization to which an IPAM policy can be applied.
- Parameters:
organizationTargets- The IDs of the Amazon Web Services Organizations targets.A target can be an individual Amazon Web Services account or an entity within an Amazon Web Services Organization to which an IPAM policy can be applied.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationTargets
GetIpamPolicyOrganizationTargetsResponse.Builder organizationTargets(IpamPolicyOrganizationTarget... organizationTargets) The IDs of the Amazon Web Services Organizations targets.
A target can be an individual Amazon Web Services account or an entity within an Amazon Web Services Organization to which an IPAM policy can be applied.
- Parameters:
organizationTargets- The IDs of the Amazon Web Services Organizations targets.A target can be an individual Amazon Web Services account or an entity within an Amazon Web Services Organization to which an IPAM policy can be applied.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationTargets
GetIpamPolicyOrganizationTargetsResponse.Builder organizationTargets(Consumer<IpamPolicyOrganizationTarget.Builder>... organizationTargets) The IDs of the Amazon Web Services Organizations targets.
A target can be an individual Amazon Web Services account or an entity within an Amazon Web Services Organization to which an IPAM policy can be applied.
This is a convenience method that creates an instance of theIpamPolicyOrganizationTarget.Builderavoiding the need to create one manually viaIpamPolicyOrganizationTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorganizationTargets(List<IpamPolicyOrganizationTarget>).- Parameters:
organizationTargets- a consumer that will call methods onIpamPolicyOrganizationTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results.
- Parameters:
nextToken- The token to use to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-