Class ViolationName.Builder (2.34.0)

public static class ViolationName.Builder

Builder for organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}.

Inheritance

java.lang.Object > ViolationName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ViolationName build()
Returns
TypeDescription
ViolationName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getViolation()

public String getViolation()
Returns
TypeDescription
String

getWorkload()

public String getWorkload()
Returns
TypeDescription
String

setLocation(String location)

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

setOrganization(String organization)

public ViolationName.Builder setOrganization(String organization)
Parameter
NameDescription
organizationString
Returns
TypeDescription
ViolationName.Builder

setViolation(String violation)

public ViolationName.Builder setViolation(String violation)
Parameter
NameDescription
violationString
Returns
TypeDescription
ViolationName.Builder

setWorkload(String workload)

public ViolationName.Builder setWorkload(String workload)
Parameter
NameDescription
workloadString
Returns
TypeDescription
ViolationName.Builder