public static final class ConsumerPrincipalsTypes.FilterSpec.Builder
extends java.lang.Object
ConsumerPrincipalsTypes.FilterSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ConsumerPrincipalsTypes.FilterSpec . |
Modifier and Type | Method and Description |
---|---|
ConsumerPrincipalsTypes.FilterSpec |
build() |
ConsumerPrincipalsTypes.FilterSpec.Builder |
setId(java.util.Set<java.lang.String> id)
The unqiue identifier of a connection profile.
|
ConsumerPrincipalsTypes.FilterSpec.Builder |
setIssuer(java.util.Set<java.lang.String> issuer)
The service which created and signed the security token.
|
ConsumerPrincipalsTypes.FilterSpec.Builder |
setPrincipals(java.util.List<StsPrincipal> principals)
The principal used by the vCenter to retrieve tokens.
|
public Builder()
ConsumerPrincipalsTypes.FilterSpec
.public ConsumerPrincipalsTypes.FilterSpec.Builder setId(java.util.Set<java.lang.String> id)
null
, no filtration will be performed by ID.id
- 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: com.vmware.esx.authentication.clientprofile
. When methods return a value of
this class as a return value, the property will contain identifiers for the
resource type: com.vmware.esx.authentication.clientprofile
.public ConsumerPrincipalsTypes.FilterSpec.Builder setPrincipals(java.util.List<StsPrincipal> principals)
null
, no filtration will be performed by principals.principals
- New value for the property.public ConsumerPrincipalsTypes.FilterSpec.Builder setIssuer(java.util.Set<java.lang.String> issuer)
null
, no filtration will be performed by issuer.issuer
- 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: com.vmware.esx.authentication.trust.security-token-issuer
. When methods return
a value of this class as a return value, the property will contain identifiers
for the resource type: com.vmware.esx.authentication.trust.security-token-issuer
.public ConsumerPrincipalsTypes.FilterSpec build()