Class OSPolicyAssignmentName.Builder (2.4.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
TypeDescription
OSPolicyAssignmentName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getOsPolicyAssignment()

public String getOsPolicyAssignment()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setLocation(String location)

public OSPolicyAssignmentName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
OSPolicyAssignmentName.Builder

setOsPolicyAssignment(String osPolicyAssignment)

public OSPolicyAssignmentName.Builder setOsPolicyAssignment(String osPolicyAssignment)
Parameter
NameDescription
osPolicyAssignmentString
Returns
TypeDescription
OSPolicyAssignmentName.Builder

setProject(String project)

public OSPolicyAssignmentName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
OSPolicyAssignmentName.Builder