Class OSPolicyAssignmentName.Builder (2.45.0)

public static class OSPolicyAssignmentName.Builder

Builder for projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}.

Inheritance

java.lang.Object > OSPolicyAssignmentName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public OSPolicyAssignmentName build()
Returns
Type Description
OSPolicyAssignmentName

getLocation()

public String getLocation()
Returns
Type Description
String

getOsPolicyAssignment()

public String getOsPolicyAssignment()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setLocation(String location)

public OSPolicyAssignmentName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
OSPolicyAssignmentName.Builder

setOsPolicyAssignment(String osPolicyAssignment)

public OSPolicyAssignmentName.Builder setOsPolicyAssignment(String osPolicyAssignment)
Parameter
Name Description
osPolicyAssignment String
Returns
Type Description
OSPolicyAssignmentName.Builder

setProject(String project)

public OSPolicyAssignmentName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
OSPolicyAssignmentName.Builder