public static final class KmsTypes.FilterSpec.Builder
extends java.lang.Object
KmsTypes.FilterSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
KmsTypes.FilterSpec . |
Modifier and Type | Method and Description |
---|---|
KmsTypes.FilterSpec |
build() |
KmsTypes.FilterSpec.Builder |
setAddress(java.util.List<NetworkAddress> address)
The service's address.
|
KmsTypes.FilterSpec.Builder |
setClusters(java.util.Set<java.lang.String> clusters)
A set of cluster IDs by which to filter the services.
|
KmsTypes.FilterSpec.Builder |
setGroups(java.util.Set<java.lang.String> groups)
The group determines reports issued by which Attestation Service instances this
Key Provider Service can accept.
|
KmsTypes.FilterSpec.Builder |
setHosts(java.util.Set<java.lang.String> hosts)
A set of host IDs by which to filter the services.
|
public Builder()
KmsTypes.FilterSpec
.public KmsTypes.FilterSpec.Builder setHosts(java.util.Set<java.lang.String> hosts)
null
, the services will not be filtered by the hosts on which they
run.hosts
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain identifiers for the resource type: HostSystem
. When methods
return a value of this class as a return value, the property will contain
identifiers for the resource type: HostSystem
.public KmsTypes.FilterSpec.Builder setClusters(java.util.Set<java.lang.String> clusters)
null
, the services will not be filtered by the clusters on which they
run.clusters
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain identifiers for the resource type: ClusterComputeResource
. When
methods return a value of this class as a return value, the property will
contain identifiers for the resource type: ClusterComputeResource
.public KmsTypes.FilterSpec.Builder setAddress(java.util.List<NetworkAddress> address)
null
, the services will not be filtered by address.address
- New value for the property.public KmsTypes.FilterSpec.Builder setGroups(java.util.Set<java.lang.String> groups)
null
, the services will not be filtered by groupId.groups
- New value for the property.public KmsTypes.FilterSpec build()