Class InstanceOSPolicyAssignmentName.Builder (2.46.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
Type Description
InstanceOSPolicyAssignmentName

getAssignment()

public String getAssignment()
Returns
Type Description
String

getInstance()

public String getInstance()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setAssignment(String assignment)

public InstanceOSPolicyAssignmentName.Builder setAssignment(String assignment)
Parameter
Name Description
assignment String
Returns
Type Description
InstanceOSPolicyAssignmentName.Builder

setInstance(String instance)

public InstanceOSPolicyAssignmentName.Builder setInstance(String instance)
Parameter
Name Description
instance String
Returns
Type Description
InstanceOSPolicyAssignmentName.Builder

setLocation(String location)

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

setProject(String project)

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