Interface GetIpamPolicyOrganizationTargetsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetIpamPolicyOrganizationTargetsResponse.Builder,GetIpamPolicyOrganizationTargetsResponse>,Ec2Response.Builder,SdkBuilder<GetIpamPolicyOrganizationTargetsResponse.Builder,GetIpamPolicyOrganizationTargetsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetIpamPolicyOrganizationTargetsResponse
@Mutable @NotThreadSafe public static interface GetIpamPolicyOrganizationTargetsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetIpamPolicyOrganizationTargetsResponse.Builder,GetIpamPolicyOrganizationTargetsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetIpamPolicyOrganizationTargetsResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.GetIpamPolicyOrganizationTargetsResponse.BuilderorganizationTargets(Collection<IpamPolicyOrganizationTarget> organizationTargets)The Amazon Web Services Organizations targets for an IPAM policy.GetIpamPolicyOrganizationTargetsResponse.BuilderorganizationTargets(Consumer<IpamPolicyOrganizationTarget.Builder>... organizationTargets)The Amazon Web Services Organizations targets for an IPAM policy.GetIpamPolicyOrganizationTargetsResponse.BuilderorganizationTargets(IpamPolicyOrganizationTarget... organizationTargets)The Amazon Web Services Organizations targets for an IPAM policy.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
organizationTargets
GetIpamPolicyOrganizationTargetsResponse.Builder organizationTargets(Collection<IpamPolicyOrganizationTarget> organizationTargets)
The Amazon Web Services Organizations targets for an IPAM policy.
- Parameters:
organizationTargets- The Amazon Web Services Organizations targets for an IPAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationTargets
GetIpamPolicyOrganizationTargetsResponse.Builder organizationTargets(IpamPolicyOrganizationTarget... organizationTargets)
The Amazon Web Services Organizations targets for an IPAM policy.
- Parameters:
organizationTargets- The Amazon Web Services Organizations targets for an IPAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationTargets
GetIpamPolicyOrganizationTargetsResponse.Builder organizationTargets(Consumer<IpamPolicyOrganizationTarget.Builder>... organizationTargets)
The Amazon Web Services Organizations targets for an IPAM policy.
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 to#organizationTargets(List.) - 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:
#organizationTargets(java.util.Collection)
-
nextToken
GetIpamPolicyOrganizationTargetsResponse.Builder nextToken(String 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.
-
-