public static final class AttestationTypes.Summary.Builder
extends java.lang.Object
AttestationTypes.Summary
.Constructor and Description |
---|
Builder(AttestationTypes.SummaryType summaryType)
Constructor with parameters for the required properties of
AttestationTypes.Summary . |
Modifier and Type | Method and Description |
---|---|
AttestationTypes.Summary |
build() |
AttestationTypes.Summary.Builder |
setAddress(NetworkAddress address)
The service's address.
|
AttestationTypes.Summary.Builder |
setCluster(java.lang.String cluster)
The opaque string identifier of the cluster in which the Attestation Service is
part of.
|
AttestationTypes.Summary.Builder |
setGroup(java.lang.String group)
The group ID determines which Attestation Service instances this Attestation
Service can communicate with.
|
AttestationTypes.Summary.Builder |
setHost(java.lang.String host)
The trusted ESX on which the service runs.
|
AttestationTypes.Summary.Builder |
setTrustedCA(X509CertChain trustedCA)
The service's TLS certificate chain.
|
public Builder(AttestationTypes.SummaryType summaryType)
AttestationTypes.Summary
.public AttestationTypes.Summary.Builder setHost(java.lang.String host)
getSummaryType()
is one of AttestationTypes.SummaryType.BRIEF
,
AttestationTypes.SummaryType.NORMAL
,
or AttestationTypes.SummaryType.FULL
.host
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: HostSystem
. When methods return a
value of this class as a return value, the property will be an identifier for
the resource type: HostSystem
.public AttestationTypes.Summary.Builder setAddress(NetworkAddress address)
getSummaryType()
is one of AttestationTypes.SummaryType.BRIEF
,
AttestationTypes.SummaryType.NORMAL
,
or AttestationTypes.SummaryType.FULL
.address
- New value for the property.public AttestationTypes.Summary.Builder setGroup(java.lang.String group)
getSummaryType()
is one of AttestationTypes.SummaryType.NORMAL
or AttestationTypes.SummaryType.FULL
.group
- New value for the property.public AttestationTypes.Summary.Builder setCluster(java.lang.String cluster)
getSummaryType()
is one of AttestationTypes.SummaryType.NORMAL
or AttestationTypes.SummaryType.FULL
.cluster
- New value for the property.public AttestationTypes.Summary.Builder setTrustedCA(X509CertChain trustedCA)
getSummaryType()
is AttestationTypes.SummaryType.FULL
.trustedCA
- New value for the property.public AttestationTypes.Summary build()