Interface BatchGetPolicyOutputItem.Builder

  • Method Details

    • policyStoreId

      BatchGetPolicyOutputItem.Builder policyStoreId(String policyStoreId)

      The identifier of the policy store where the policy you want information about is stored.

      Parameters:
      policyStoreId - The identifier of the policy store where the policy you want information about is stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyId

      The identifier of the policy you want information about.

      Parameters:
      policyId - The identifier of the policy you want information about.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyType

      BatchGetPolicyOutputItem.Builder policyType(String policyType)

      The type of the policy. This is one of the following values:

      • STATIC

      • TEMPLATE_LINKED

      Parameters:
      policyType - The type of the policy. This is one of the following values:

      • STATIC

      • TEMPLATE_LINKED

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • policyType

      The type of the policy. This is one of the following values:

      • STATIC

      • TEMPLATE_LINKED

      Parameters:
      policyType - The type of the policy. This is one of the following values:

      • STATIC

      • TEMPLATE_LINKED

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • definition

      The policy definition of an item in the list of policies returned.

      Parameters:
      definition - The policy definition of an item in the list of policies returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definition

      The policy definition of an item in the list of policies returned.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to definition(PolicyDefinitionDetail).

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

      BatchGetPolicyOutputItem.Builder createdDate(Instant createdDate)

      The date and time the policy was created.

      Parameters:
      createdDate - The date and time the policy was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedDate

      BatchGetPolicyOutputItem.Builder lastUpdatedDate(Instant lastUpdatedDate)

      The date and time the policy was most recently updated.

      Parameters:
      lastUpdatedDate - The date and time the policy was most recently updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.