Class Binding.Builder (2.3.5)

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
NameDescription
memberString
moreMembersString[]
Returns
TypeDescription
Binding.Builder

build()

public abstract Binding build()
Returns
TypeDescription
Binding

removeMembers(String[] members)

public Binding.Builder removeMembers(String[] members)

Remove members to Policy Binding.

Parameter
NameDescription
membersString[]
Returns
TypeDescription
Binding.Builder

setCondition(Condition condition)

public abstract Binding.Builder setCondition(Condition condition)

Set IAM Condition for Policy Binding

Parameter
NameDescription
conditionCondition
Returns
TypeDescription
Binding.Builder

setMembers(Iterable<String> members)

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

Set IAM Members for Policy Binding

Parameter
NameDescription
membersIterable<String>
Returns
TypeDescription
Binding.Builder

setRole(String role)

public abstract Binding.Builder setRole(String role)

Set IAM Role for Policy Binding

Parameter
NameDescription
roleString
Returns
TypeDescription
Binding.Builder