Interface LookupPolicyResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CloudDirectoryResponse.Builder, CopyableBuilder<LookupPolicyResponse.Builder,LookupPolicyResponse>, SdkBuilder<LookupPolicyResponse.Builder,LookupPolicyResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
LookupPolicyResponse

public static interface LookupPolicyResponse.Builder extends CloudDirectoryResponse.Builder, SdkPojo, CopyableBuilder<LookupPolicyResponse.Builder,LookupPolicyResponse>
  • Method Details

    • policyToPathList

      LookupPolicyResponse.Builder policyToPathList(Collection<PolicyToPath> policyToPathList)

      Provides list of path to policies. Policies contain PolicyId, ObjectIdentifier, and PolicyType. For more information, see Policies.

      Parameters:
      policyToPathList - Provides list of path to policies. Policies contain PolicyId, ObjectIdentifier, and PolicyType. For more information, see Policies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyToPathList

      LookupPolicyResponse.Builder policyToPathList(PolicyToPath... policyToPathList)

      Provides list of path to policies. Policies contain PolicyId, ObjectIdentifier, and PolicyType. For more information, see Policies.

      Parameters:
      policyToPathList - Provides list of path to policies. Policies contain PolicyId, ObjectIdentifier, and PolicyType. For more information, see Policies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyToPathList

      LookupPolicyResponse.Builder policyToPathList(Consumer<PolicyToPath.Builder>... policyToPathList)

      Provides list of path to policies. Policies contain PolicyId, ObjectIdentifier, and PolicyType. For more information, see Policies.

      This is a convenience method that creates an instance of the PolicyToPath.Builder avoiding the need to create one manually via PolicyToPath.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to policyToPathList(List<PolicyToPath>).

      Parameters:
      policyToPathList - a consumer that will call methods on PolicyToPath.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      LookupPolicyResponse.Builder nextToken(String nextToken)

      The pagination token.

      Parameters:
      nextToken - The pagination token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.