Interface GetPolicyResponse.Builder

    • Method Detail

      • policy

        GetPolicyResponse.Builder policy​(Policy policy)
        A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
        Parameters:
        policy - A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policy

        default GetPolicyResponse.Builder policy​(Consumer<Policy.Builder> policy)
        A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html This is a convenience method that creates an instance of the Policy.Builder avoiding the need to create one manually via Policy.builder().

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

        Parameters:
        policy - a consumer that will call methods on Policy.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        policy(Policy)