Package odata.msgraph.client.beta.entity
Class DataSharingConsent.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.DataSharingConsent.Builder
-
- Enclosing class:
- DataSharingConsent
public static final class DataSharingConsent.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSharingConsentbuild()DataSharingConsent.BuildergrantDateTime(OffsetDateTime grantDateTime)“The time consent was granted for this account”DataSharingConsent.Buildergranted(Boolean granted)“The granted state for the data sharing consent”DataSharingConsent.BuildergrantedByUpn(String grantedByUpn)“The Upn of the user that granted consent for this account”DataSharingConsent.BuildergrantedByUserId(String grantedByUserId)“The UserId of the user that granted consent for this account”DataSharingConsent.Builderid(String id)DataSharingConsent.BuilderserviceDisplayName(String serviceDisplayName)“The display name of the service work flow”DataSharingConsent.BuildertermsUrl(String termsUrl)“The TermsUrl for the data sharing consent”
-
-
-
Method Detail
-
id
public DataSharingConsent.Builder id(String id)
-
grantDateTime
public DataSharingConsent.Builder grantDateTime(OffsetDateTime grantDateTime)
“The time consent was granted for this account”- Parameters:
grantDateTime- value ofgrantDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
granted
public DataSharingConsent.Builder granted(Boolean granted)
“The granted state for the data sharing consent”- Parameters:
granted- value ofgrantedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
grantedByUpn
public DataSharingConsent.Builder grantedByUpn(String grantedByUpn)
“The Upn of the user that granted consent for this account”- Parameters:
grantedByUpn- value ofgrantedByUpnproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
grantedByUserId
public DataSharingConsent.Builder grantedByUserId(String grantedByUserId)
“The UserId of the user that granted consent for this account”- Parameters:
grantedByUserId- value ofgrantedByUserIdproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
serviceDisplayName
public DataSharingConsent.Builder serviceDisplayName(String serviceDisplayName)
“The display name of the service work flow”- Parameters:
serviceDisplayName- value ofserviceDisplayNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
termsUrl
public DataSharingConsent.Builder termsUrl(String termsUrl)
“The TermsUrl for the data sharing consent”- Parameters:
termsUrl- value oftermsUrlproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public DataSharingConsent build()
-
-