Package software.amazon.awssdk.profiles
Interface ProfileFile.Builder
-
- All Superinterfaces:
Buildable,SdkBuilder<ProfileFile.Builder,ProfileFile>
- Enclosing class:
- ProfileFile
public static interface ProfileFile.Builder extends SdkBuilder<ProfileFile.Builder,ProfileFile>
A builder for aProfileFile.content(Path)(orcontent(InputStream)) andtype(Type)are required fields.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProfileFilebuild()ProfileFile.Buildercontent(InputStream contentStream)Configure the content of the profile file.ProfileFile.Buildercontent(Path contentLocation)Configure the location from which the profile file should be loaded.ProfileFile.Buildertype(ProfileFile.Type type)Configure theProfileFile.Typeof file that should be loaded.-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
-
-
-
Method Detail
-
content
ProfileFile.Builder content(InputStream contentStream)
Configure the content of the profile file. This stream will be read from and then closed whenbuild()is invoked.
-
content
ProfileFile.Builder content(Path contentLocation)
Configure the location from which the profile file should be loaded.
-
type
ProfileFile.Builder type(ProfileFile.Type type)
Configure theProfileFile.Typeof file that should be loaded.
-
build
ProfileFile build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<ProfileFile.Builder,ProfileFile>
-
-