Package software.amazon.awssdk.profiles
Interface ProfileFile.Builder
- All Superinterfaces:
Buildable
,SdkBuilder<ProfileFile.Builder,
ProfileFile>
- Enclosing class:
ProfileFile
A builder for a
ProfileFile
. content(Path)
(or content(InputStream)
) and type(Type)
are
required fields.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
An immutable object that is created from the properties that have been set on the builder.content
(InputStream contentStream) Configure the content of the profile file.Configure the location from which the profile file should be loaded.type
(ProfileFile.Type type) Configure theProfileFile.Type
of file that should be loaded.Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
content
Configure the content of the profile file. This stream will be read from and then closed whenbuild()
is invoked. -
content
Configure the location from which the profile file should be loaded. -
type
Configure theProfileFile.Type
of file that should be loaded. -
build
ProfileFile build()Description copied from interface:SdkBuilder
An immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkBuilder<ProfileFile.Builder,
ProfileFile> - Returns:
- an instance of T
-