Class InstanceOSPolicyAssignmentName.Builder (2.7.0)

public static class InstanceOSPolicyAssignmentName.Builder

Builder for projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}.

Inheritance

java.lang.Object > InstanceOSPolicyAssignmentName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public InstanceOSPolicyAssignmentName build()
Returns
TypeDescription
InstanceOSPolicyAssignmentName

getAssignment()

public String getAssignment()
Returns
TypeDescription
String

getInstance()

public String getInstance()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setAssignment(String assignment)

public InstanceOSPolicyAssignmentName.Builder setAssignment(String assignment)
Parameter
NameDescription
assignmentString
Returns
TypeDescription
InstanceOSPolicyAssignmentName.Builder

setInstance(String instance)

public InstanceOSPolicyAssignmentName.Builder setInstance(String instance)
Parameter
NameDescription
instanceString
Returns
TypeDescription
InstanceOSPolicyAssignmentName.Builder

setLocation(String location)

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

setProject(String project)

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