Interface ListPermissionsResponse.Builder

    • Method Detail

      • nextToken

        ListPermissionsResponse.Builder nextToken​(String nextToken)

        When the list is truncated, this value is present and should be used for the NextToken parameter in a subsequent pagination request.

        Parameters:
        nextToken - When the list is truncated, this value is present and should be used for the NextToken parameter in a subsequent pagination request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissions

        ListPermissionsResponse.Builder permissions​(Collection<Permission> permissions)

        Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.

        Parameters:
        permissions - Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissions

        ListPermissionsResponse.Builder permissions​(Permission... permissions)

        Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.

        Parameters:
        permissions - Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissions

        ListPermissionsResponse.Builder permissions​(Consumer<Permission.Builder>... permissions)

        Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #permissions(List).

        Parameters:
        permissions - a consumer that will call methods on Permission.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #permissions(java.util.Collection)