Interface GetPolicyStoreResponse.Builder

  • Method Details

    • policyStoreId

      GetPolicyStoreResponse.Builder policyStoreId(String policyStoreId)

      The ID of the policy store;

      Parameters:
      policyStoreId - The ID of the policy store;
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the policy store.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the policy store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validationSettings

      GetPolicyStoreResponse.Builder validationSettings(ValidationSettings validationSettings)

      The current validation settings for the policy store.

      Parameters:
      validationSettings - The current validation settings for the policy store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validationSettings

      default GetPolicyStoreResponse.Builder validationSettings(Consumer<ValidationSettings.Builder> validationSettings)

      The current validation settings for the policy store.

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

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

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

      GetPolicyStoreResponse.Builder createdDate(Instant createdDate)

      The date and time that the policy store was originally created.

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

      GetPolicyStoreResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)

      The date and time that the policy store was last updated.

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

      GetPolicyStoreResponse.Builder description(String description)

      Descriptive text that you can provide to help with identification of the current policy store.

      Parameters:
      description - Descriptive text that you can provide to help with identification of the current policy store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deletionProtection

      GetPolicyStoreResponse.Builder deletionProtection(String deletionProtection)

      Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.

      The default state is DISABLED.

      Parameters:
      deletionProtection - Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.

      The default state is DISABLED.

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

      GetPolicyStoreResponse.Builder deletionProtection(DeletionProtection deletionProtection)

      Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.

      The default state is DISABLED.

      Parameters:
      deletionProtection - Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.

      The default state is DISABLED.

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

      GetPolicyStoreResponse.Builder cedarVersion(String cedarVersion)

      The version of the Cedar language used with policies, policy templates, and schemas in this policy store. For more information, see Amazon Verified Permissions upgrade to Cedar v4 FAQ.

      Parameters:
      cedarVersion - The version of the Cedar language used with policies, policy templates, and schemas in this policy store. For more information, see Amazon Verified Permissions upgrade to Cedar v4 FAQ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cedarVersion

      GetPolicyStoreResponse.Builder cedarVersion(CedarVersion cedarVersion)

      The version of the Cedar language used with policies, policy templates, and schemas in this policy store. For more information, see Amazon Verified Permissions upgrade to Cedar v4 FAQ.

      Parameters:
      cedarVersion - The version of the Cedar language used with policies, policy templates, and schemas in this policy store. For more information, see Amazon Verified Permissions upgrade to Cedar v4 FAQ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The list of tags associated with the policy store.

      Parameters:
      tags - The list of tags associated with the policy store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.