Class Binding.Builder (2.42.0)

public abstract static class Binding.Builder

Inheritance

java.lang.Object > Binding.Builder

Constructors

Builder()

public Builder()

Methods

addMembers(String member, String[] moreMembers)

public Binding.Builder addMembers(String member, String[] moreMembers)

Add members to Policy Binding.

Parameters
Name Description
member String
moreMembers String[]
Returns
Type Description
Binding.Builder

build()

public abstract Binding build()
Returns
Type Description
Binding

removeMembers(String[] members)

public Binding.Builder removeMembers(String[] members)

Remove members to Policy Binding.

Parameter
Name Description
members String[]
Returns
Type Description
Binding.Builder

setCondition(Condition condition)

public abstract Binding.Builder setCondition(Condition condition)

Set IAM Condition for Policy Binding

Parameter
Name Description
condition Condition
Returns
Type Description
Binding.Builder

setMembers(Iterable<String> members)

public abstract Binding.Builder setMembers(Iterable<String> members)

Set IAM Members for Policy Binding

Parameter
Name Description
members Iterable<String>
Returns
Type Description
Binding.Builder

setRole(String role)

public abstract Binding.Builder setRole(String role)

Set IAM Role for Policy Binding

Parameter
Name Description
role String
Returns
Type Description
Binding.Builder