Interface PutAuthPolicyResponse.Builder

    • Method Detail

      • policy

        PutAuthPolicyResponse.Builder policy​(String 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

        PutAuthPolicyResponse.Builder state​(String state)

        The state of the auth policy. The auth policy is only active when the auth type is set to Amazon Web Services_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 you provide will remain 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 Amazon Web Services_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 you provide will remain 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:
        AuthPolicyState, AuthPolicyState
      • state

        PutAuthPolicyResponse.Builder state​(AuthPolicyState state)

        The state of the auth policy. The auth policy is only active when the auth type is set to Amazon Web Services_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 you provide will remain 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 Amazon Web Services_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 you provide will remain 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:
        AuthPolicyState, AuthPolicyState