public static final class ServicesTypes.CreateSpec.Builder
extends java.lang.Object
ServicesTypes.CreateSpec
.Constructor and Description |
---|
Builder(ServicesTypes.CreateSpec.SourceType type)
Constructor with parameters for the required properties of
ServicesTypes.CreateSpec . |
Modifier and Type | Method and Description |
---|---|
ServicesTypes.CreateSpec |
build() |
ServicesTypes.CreateSpec.Builder |
setService(java.lang.String service)
The service's unique ID.
|
ServicesTypes.CreateSpec.Builder |
setTrustAuthorityCluster(java.lang.String trustAuthorityCluster)
The attestation cluster's unique ID.
|
public Builder(ServicesTypes.CreateSpec.SourceType type)
ServicesTypes.CreateSpec
.public ServicesTypes.CreateSpec.Builder setService(java.lang.String service)
getType()
is ServicesTypes.CreateSpec.SourceType.SERVICE
.service
- 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: com.vmware.vcenter.trusted_infrastructure.kms.Service
. When methods return a
value of this class as a return value, the property will be an identifier for
the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service
.public ServicesTypes.CreateSpec.Builder setTrustAuthorityCluster(java.lang.String trustAuthorityCluster)
getType()
is ServicesTypes.CreateSpec.SourceType.CLUSTER
.trustAuthorityCluster
- New value for the property.public ServicesTypes.CreateSpec build()