public static final class ProfileFile.Builder extends Object implements SdkBuilder<ProfileFile.Builder,ProfileFile>
ProfileFile
. content(Path)
(or content(InputStream)
) and #type(Type)
are
required fields.Modifier and Type | Method and Description |
---|---|
ProfileFile |
build()
An immutable object that is created from the
properties that have been set on the builder.
|
ProfileFile.Builder |
content(InputStream contentStream)
Configure the content of the profile file.
|
ProfileFile.Builder |
content(Path contentLocation)
Configure the location from which the profile file should be loaded.
|
ProfileFile.Builder |
type(ProfileFile.Type type)
Configure the
ProfileFile.Type of file that should be loaded. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public ProfileFile.Builder content(InputStream contentStream)
build()
is
invoked.public ProfileFile.Builder content(Path contentLocation)
public ProfileFile.Builder type(ProfileFile.Type type)
ProfileFile.Type
of file that should be loaded.public ProfileFile build()
SdkBuilder
build
in interface SdkBuilder<ProfileFile.Builder,ProfileFile>
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.