public static final class LocationSpec.Builder
extends java.lang.Object
LocationSpec
.Constructor and Description |
---|
LocationSpec.Builder(java.net.URI location)
Constructor with parameters for the required properties of
LocationSpec . |
Modifier and Type | Method and Description |
---|---|
LocationSpec |
build() |
LocationSpec.Builder |
setLocationPassword(char[] locationPassword)
Password for the given location.
|
LocationSpec.Builder |
setLocationUser(java.lang.String locationUser)
Username for the given location.
|
public LocationSpec.Builder(java.net.URI location)
LocationSpec
.public LocationSpec.Builder setLocationUser(java.lang.String locationUser)
null
authentication will not be used.locationUser
- New value for the property.public LocationSpec.Builder setLocationPassword(char[] locationPassword)
null
authentication will not be used.locationPassword
- New value for the property.public LocationSpec build()