Package odata.msgraph.client.beta.entity
Class TermsAndConditions.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.TermsAndConditions.Builder
-
- Enclosing class:
- TermsAndConditions
public static final class TermsAndConditions.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TermsAndConditions.BuilderacceptanceStatement(String acceptanceStatement)“Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept the terms and conditions set out in the T&C policy.TermsAndConditions.BuilderbodyText(String bodyText)“Administrator-supplied body text of the terms and conditions, typically the terms themselves.TermsAndConditionsbuild()TermsAndConditions.BuildercreatedDateTime(OffsetDateTime createdDateTime)“DateTime the object was created.”TermsAndConditions.Builderdescription(String description)“Administrator-supplied description of the T&C policy.”TermsAndConditions.BuilderdisplayName(String displayName)“Administrator-supplied name for the T&C policy.”TermsAndConditions.Builderid(String id)TermsAndConditions.BuilderlastModifiedDateTime(OffsetDateTime lastModifiedDateTime)“DateTime the object was last modified.”TermsAndConditions.BuildermodifiedDateTime(OffsetDateTime modifiedDateTime)“DateTime the object was last modified.”TermsAndConditions.BuilderroleScopeTagIds(String... roleScopeTagIds)“List of Scope Tags for this Entity instance.”TermsAndConditions.BuilderroleScopeTagIds(List<String> roleScopeTagIds)“List of Scope Tags for this Entity instance.”TermsAndConditions.BuilderroleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)“List of Scope Tags for this Entity instance.”TermsAndConditions.Buildertitle(String title)“Administrator-supplied title of the terms and conditions.TermsAndConditions.Builderversion(Integer version)“Integer indicating the current version of the terms.
-
-
-
Method Detail
-
id
public TermsAndConditions.Builder id(String id)
-
acceptanceStatement
public TermsAndConditions.Builder acceptanceStatement(String acceptanceStatement)
“Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C policy.”- Parameters:
acceptanceStatement- value ofacceptanceStatementproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
bodyText
public TermsAndConditions.Builder bodyText(String bodyText)
“Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy.”- Parameters:
bodyText- value ofbodyTextproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
createdDateTime
public TermsAndConditions.Builder createdDateTime(OffsetDateTime createdDateTime)
“DateTime the object was created.”- Parameters:
createdDateTime- value ofcreatedDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
description
public TermsAndConditions.Builder description(String description)
“Administrator-supplied description of the T&C policy.”- Parameters:
description- value ofdescriptionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
displayName
public TermsAndConditions.Builder displayName(String displayName)
“Administrator-supplied name for the T&C policy.”- Parameters:
displayName- value ofdisplayNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
lastModifiedDateTime
public TermsAndConditions.Builder lastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
“DateTime the object was last modified.”- Parameters:
lastModifiedDateTime- value oflastModifiedDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
modifiedDateTime
public TermsAndConditions.Builder modifiedDateTime(OffsetDateTime modifiedDateTime)
“DateTime the object was last modified.”- Parameters:
modifiedDateTime- value ofmodifiedDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
roleScopeTagIds
public TermsAndConditions.Builder roleScopeTagIds(List<String> roleScopeTagIds)
“List of Scope Tags for this Entity instance.”- Parameters:
roleScopeTagIds- value ofroleScopeTagIdsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
roleScopeTagIds
public TermsAndConditions.Builder roleScopeTagIds(String... roleScopeTagIds)
“List of Scope Tags for this Entity instance.”- Parameters:
roleScopeTagIds- value ofroleScopeTagIdsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
roleScopeTagIdsNextLink
public TermsAndConditions.Builder roleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)
“List of Scope Tags for this Entity instance.”- Parameters:
roleScopeTagIdsNextLink- value ofroleScopeTagIds@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
title
public TermsAndConditions.Builder title(String title)
“Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy.”- Parameters:
title- value oftitleproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
version
public TermsAndConditions.Builder version(Integer version)
“Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re- accept the modified T&C policy.”- Parameters:
version- value ofversionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public TermsAndConditions build()
-
-