Interface GetAuthPolicyResponse.Builder

  • Method Details

    • createdAt

      GetAuthPolicyResponse.Builder createdAt(Instant createdAt)

      The date and time that the auth policy was created, in ISO-8601 format.

      Parameters:
      createdAt - The date and time that the auth policy was created, in ISO-8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      GetAuthPolicyResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The date and time that the auth policy was last updated, in ISO-8601 format.

      Parameters:
      lastUpdatedAt - The date and time that the auth policy was last updated, in ISO-8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policy

      The auth policy.

      Parameters:
      policy - The auth policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the auth policy. The auth policy is only active when the auth type is set to AWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type is NONE, then any auth policy that you provide remains inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.

      Parameters:
      state - The state of the auth policy. The auth policy is only active when the auth type is set to AWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type is NONE, then any auth policy that you provide remains inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the auth policy. The auth policy is only active when the auth type is set to AWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type is NONE, then any auth policy that you provide remains inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.

      Parameters:
      state - The state of the auth policy. The auth policy is only active when the auth type is set to AWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type is NONE, then any auth policy that you provide remains inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: