@NotThreadSafe public static final class FilesSharedPublicUrlParams.Builder extends Object
FilesSharedPublicUrlParams.
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.
| Modifier and Type | Method and Description |
|---|---|
FilesSharedPublicUrlParams |
build()
Builds a new
FilesSharedPublicUrlParams. |
FilesSharedPublicUrlParams.Builder |
from(FilesSharedPublicUrlParamsIF instance)
Fill a builder with attribute values from the provided
FilesSharedPublicUrlParamsIF instance. |
FilesSharedPublicUrlParams.Builder |
setFileId(String fileId)
Initializes the value for the
fileId attribute. |
public final FilesSharedPublicUrlParams.Builder from(FilesSharedPublicUrlParamsIF instance)
FilesSharedPublicUrlParamsIF instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final FilesSharedPublicUrlParams.Builder setFileId(String fileId)
fileId attribute.fileId - The value for fileIdthis builder for use in a chained invocationpublic FilesSharedPublicUrlParams build() throws com.hubspot.immutables.validation.InvalidImmutableStateException
FilesSharedPublicUrlParams.com.hubspot.immutables.validation.InvalidImmutableStateException - if any required attributes are missingCopyright © 2019. All rights reserved.