Class HasPayloadLinkResultItem.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.complex.HasPayloadLinkResultItem.Builder
-
- Enclosing class:
- HasPayloadLinkResultItem
public static final class HasPayloadLinkResultItem.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HasPayloadLinkResultItembuild()HasPayloadLinkResultItem.Buildererror(String error)“Exception information indicates if check for this item was successful or not.HasPayloadLinkResultItem.BuilderhasLink(Boolean hasLink)“Indicate whether a payload has any link or not.”HasPayloadLinkResultItem.BuilderpayloadId(String payloadId)“Key of the Payload, In the format of Guid.”HasPayloadLinkResultItem.Buildersources(List<DeviceAndAppManagementAssignmentSource> sources)“The reason where the link comes from.”HasPayloadLinkResultItem.Buildersources(DeviceAndAppManagementAssignmentSource... sources)“The reason where the link comes from.”HasPayloadLinkResultItem.BuildersourcesNextLink(String sourcesNextLink)“The reason where the link comes from.”
-
-
-
Method Detail
-
error
public HasPayloadLinkResultItem.Builder error(String error)
“Exception information indicates if check for this item was successful or not. Empty string for no error.”- Parameters:
error- value oferrorproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
hasLink
public HasPayloadLinkResultItem.Builder hasLink(Boolean hasLink)
“Indicate whether a payload has any link or not.”- Parameters:
hasLink- value ofhasLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
payloadId
public HasPayloadLinkResultItem.Builder payloadId(String payloadId)
“Key of the Payload, In the format of Guid.”- Parameters:
payloadId- value ofpayloadIdproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
sources
public HasPayloadLinkResultItem.Builder sources(List<DeviceAndAppManagementAssignmentSource> sources)
“The reason where the link comes from.”- Parameters:
sources- value ofsourcesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
sources
public HasPayloadLinkResultItem.Builder sources(DeviceAndAppManagementAssignmentSource... sources)
“The reason where the link comes from.”- Parameters:
sources- value ofsourcesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
sourcesNextLink
public HasPayloadLinkResultItem.Builder sourcesNextLink(String sourcesNextLink)
“The reason where the link comes from.”- Parameters:
sourcesNextLink- value ofsources@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public HasPayloadLinkResultItem build()
-
-