Class CallsUpdateParams.Builder
java.lang.Object
com.hubspot.slack.client.methods.params.calls.CallsUpdateParams.Builder
- Enclosing class:
CallsUpdateParams
@Generated(from="CallsUpdateParamsIF",
generator="Immutables")
@NotThreadSafe
public static final class CallsUpdateParams.Builder
extends Object
Builds instances of type
CallsUpdateParams.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newCallsUpdateParams.from(CallsUpdateParamsIF instance) Fill a builder with attribute values from the providedCallsUpdateParamsIFinstance.setDesktopAppJoinUrl(String desktopAppJoinUrl) Initializes the optional valuedesktopAppJoinUrlto desktopAppJoinUrl.setDesktopAppJoinUrl(Optional<String> desktopAppJoinUrl) Initializes the optional valuedesktopAppJoinUrlto desktopAppJoinUrl.Initializes the value for theidattribute.setJoinUrl(String joinUrl) Initializes the optional valuejoinUrlto joinUrl.setJoinUrl(Optional<String> joinUrl) Initializes the optional valuejoinUrlto joinUrl.Initializes the optional valuetitleto title.Initializes the optional valuetitleto title.
-
Method Details
-
from
Fill a builder with attribute values from the providedCallsUpdateParamsIFinstance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
setId
Initializes the value for theidattribute.- Parameters:
id- The value for id- Returns:
thisbuilder for use in a chained invocation
-
setDesktopAppJoinUrl
Initializes the optional valuedesktopAppJoinUrlto desktopAppJoinUrl.- Parameters:
desktopAppJoinUrl- The value for desktopAppJoinUrl,nullis accepted asjava.util.Optional.empty()- Returns:
thisbuilder for chained invocation
-
setDesktopAppJoinUrl
Initializes the optional valuedesktopAppJoinUrlto desktopAppJoinUrl.- Parameters:
desktopAppJoinUrl- The value for desktopAppJoinUrl- Returns:
thisbuilder for use in a chained invocation
-
setJoinUrl
Initializes the optional valuejoinUrlto joinUrl.- Parameters:
joinUrl- The value for joinUrl,nullis accepted asjava.util.Optional.empty()- Returns:
thisbuilder for chained invocation
-
setJoinUrl
Initializes the optional valuejoinUrlto joinUrl.- Parameters:
joinUrl- The value for joinUrl- Returns:
thisbuilder for use in a chained invocation
-
setTitle
Initializes the optional valuetitleto title.- Parameters:
title- The value for title,nullis accepted asjava.util.Optional.empty()- Returns:
thisbuilder for chained invocation
-
setTitle
Initializes the optional valuetitleto title.- Parameters:
title- The value for title- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newCallsUpdateParams.- Returns:
- An immutable instance of CallsUpdateParams
- Throws:
com.hubspot.immutables.validation.InvalidImmutableStateException- if any required attributes are missing
-