Class MavenRepository
- java.lang.Object
-
- software.amazon.smithy.build.model.MavenRepository
-
- All Implemented Interfaces:
ToSmithyBuilder<MavenRepository>
public final class MavenRepository extends java.lang.Object implements ToSmithyBuilder<MavenRepository>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MavenRepository.Builder
-
Constructor Summary
Constructors Constructor Description MavenRepository(MavenRepository.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MavenRepository.Builder
builder()
boolean
equals(java.lang.Object o)
static MavenRepository
fromNode(Node node)
java.util.Optional<java.lang.String>
getHttpCredentials()
java.util.Optional<java.lang.String>
getId()
java.util.Optional<java.lang.String>
getProxyCredentials()
java.util.Optional<java.lang.String>
getProxyHost()
java.lang.String
getUrl()
int
hashCode()
MavenRepository.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
-
-
-
Constructor Detail
-
MavenRepository
public MavenRepository(MavenRepository.Builder builder)
-
-
Method Detail
-
builder
public static MavenRepository.Builder builder()
-
fromNode
public static MavenRepository fromNode(Node node)
-
getUrl
public java.lang.String getUrl()
-
getId
public java.util.Optional<java.lang.String> getId()
-
getHttpCredentials
public java.util.Optional<java.lang.String> getHttpCredentials()
-
getProxyCredentials
public java.util.Optional<java.lang.String> getProxyCredentials()
-
getProxyHost
public java.util.Optional<java.lang.String> getProxyHost()
-
toBuilder
public MavenRepository.Builder toBuilder()
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<MavenRepository>
- Returns:
- a builder for type T
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-