Package com.microsoft.graph.models
Class ContentTypeCopyToDefaultContentLocationParameterSet.ContentTypeCopyToDefaultContentLocationParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.ContentTypeCopyToDefaultContentLocationParameterSet.ContentTypeCopyToDefaultContentLocationParameterSetBuilder
- Enclosing class:
ContentTypeCopyToDefaultContentLocationParameterSet
public static final class ContentTypeCopyToDefaultContentLocationParameterSet.ContentTypeCopyToDefaultContentLocationParameterSetBuilder
extends Object
Fluent builder for the ContentTypeCopyToDefaultContentLocationParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe destinationFileName parameter valueprotected ItemReferenceThe sourceFile parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new ContentTypeCopyToDefaultContentLocationParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()Buils the resulting body object to be passed to the requestSets the DestinationFileNameSets the SourceFile
-
Field Details
-
sourceFile
The sourceFile parameter value -
destinationFileName
The destinationFileName parameter value
-
-
Constructor Details
-
ContentTypeCopyToDefaultContentLocationParameterSetBuilder
@Nullable protected ContentTypeCopyToDefaultContentLocationParameterSetBuilder()Instanciates a new ContentTypeCopyToDefaultContentLocationParameterSetBuilder
-
-
Method Details
-
withSourceFile
@Nonnull public ContentTypeCopyToDefaultContentLocationParameterSet.ContentTypeCopyToDefaultContentLocationParameterSetBuilder withSourceFile(@Nullable ItemReference val) Sets the SourceFile- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withDestinationFileName
@Nonnull public ContentTypeCopyToDefaultContentLocationParameterSet.ContentTypeCopyToDefaultContentLocationParameterSetBuilder withDestinationFileName(@Nullable String val) Sets the DestinationFileName- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
build
Buils the resulting body object to be passed to the request- Returns:
- the body object to pass to the request
-