Package eu.europa.esig.dss.model.tsl
Class TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder
java.lang.Object
eu.europa.esig.dss.model.tsl.TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder
- Enclosing class:
TrustServiceStatusAndInformationExtensions
public static final class TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder
extends Object
Builds
TrustServiceStatusAndInformationExtensions
-
Constructor Summary
ConstructorDescriptionDefault constructorTrustServiceStatusAndInformationExtensionsBuilder
(TrustServiceStatusAndInformationExtensions status) Constructor withTrustServiceStatusAndInformationExtensions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
BuildsTrustServiceStatusAndInformationExtensions
setAdditionalServiceInfoUris
(List<String> additionalServiceInfoUris) Sets additional service info urlssetConditionsForQualifiers
(List<ConditionForQualifiers> conditionsForQualifiers) Sets conditions for qualifierssetEndDate
(Date date) Sets the end of validity datesetExpiredCertsRevocationInfo
(Date expiredCertsRevocationInfo) Sets the expired certs revocation info dateSets a map of namessetServiceSupplyPoints
(List<String> serviceSupplyPoints) Sets the service supply pointssetStartDate
(Date date) Sets the start of validity dateSets a statusSets a type
-
Constructor Details
-
TrustServiceStatusAndInformationExtensionsBuilder
public TrustServiceStatusAndInformationExtensionsBuilder()Default constructor -
TrustServiceStatusAndInformationExtensionsBuilder
public TrustServiceStatusAndInformationExtensionsBuilder(TrustServiceStatusAndInformationExtensions status) Constructor withTrustServiceStatusAndInformationExtensions
- Parameters:
status
-TrustServiceStatusAndInformationExtensions
-
-
Method Details
-
build
BuildsTrustServiceStatusAndInformationExtensions
-
setNames
public TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder setNames(Map<String, List<String>> names) Sets a map of names- Parameters:
names
- a map of names- Returns:
- this
TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder
-
setType
public TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder setType(String type) Sets a type- Parameters:
type
-String
- Returns:
- this
TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder
-
setStatus
public TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder setStatus(String status) Sets a status- Parameters:
status
-String
- Returns:
- this
TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder
-
setConditionsForQualifiers
public TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder setConditionsForQualifiers(List<ConditionForQualifiers> conditionsForQualifiers) Sets conditions for qualifiers- Parameters:
conditionsForQualifiers
- a list ofConditionForQualifiers
- Returns:
- this
TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder
-
setAdditionalServiceInfoUris
public TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder setAdditionalServiceInfoUris(List<String> additionalServiceInfoUris) Sets additional service info urls- Parameters:
additionalServiceInfoUris
- a list ofString
- Returns:
- this
TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder
-
setServiceSupplyPoints
public TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder setServiceSupplyPoints(List<String> serviceSupplyPoints) Sets the service supply points- Parameters:
serviceSupplyPoints
- a list ofString
- Returns:
- this
TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder
-
setExpiredCertsRevocationInfo
public TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder setExpiredCertsRevocationInfo(Date expiredCertsRevocationInfo) Sets the expired certs revocation info date- Parameters:
expiredCertsRevocationInfo
-Date
- Returns:
- this
TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder
-
setStartDate
public TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder setStartDate(Date date) Sets the start of validity date- Parameters:
date
-Date
- Returns:
- this
TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder
-
setEndDate
public TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder setEndDate(Date date) Sets the end of validity date- Parameters:
date
-Date
- Returns:
- this
TrustServiceStatusAndInformationExtensions.TrustServiceStatusAndInformationExtensionsBuilder
-