Class MavenRepository.Builder
- java.lang.Object
-
- software.amazon.smithy.build.model.MavenRepository.Builder
-
- All Implemented Interfaces:
SmithyBuilder<MavenRepository>
- Enclosing class:
- MavenRepository
public static final class MavenRepository.Builder extends java.lang.Object implements SmithyBuilder<MavenRepository>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MavenRepository
build()
Creates an immutable object that is created from the properties that have been set on the builder.MavenRepository.Builder
httpCredentials(java.lang.String httpCredentials)
MavenRepository.Builder
id(java.lang.String id)
MavenRepository.Builder
proxyCredentials(java.lang.String proxyCredentials)
MavenRepository.Builder
proxyHost(java.lang.String proxyHost)
MavenRepository.Builder
url(java.lang.String url)
-
-
-
Method Detail
-
build
public MavenRepository build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<MavenRepository>
- Returns:
- an instance of T
-
url
public MavenRepository.Builder url(java.lang.String url)
-
id
public MavenRepository.Builder id(java.lang.String id)
-
proxyHost
public MavenRepository.Builder proxyHost(java.lang.String proxyHost)
-
proxyCredentials
public MavenRepository.Builder proxyCredentials(java.lang.String proxyCredentials)
-
httpCredentials
public MavenRepository.Builder httpCredentials(java.lang.String httpCredentials)
-
-