Modifier and Type | Method and Description |
---|---|
MfaConfig |
build()
Builds a new
MfaConfig . |
MfaConfig.Builder |
enabled(Boolean enabled)
Initializes the value for the
enabled attribute. |
MfaConfig.Builder |
from(MfaConfig instance)
Fill a builder with attribute values from the provided
MfaConfig instance. |
MfaConfig.Builder |
providerName(String providerName)
Initializes the value for the
providerName attribute. |
public final MfaConfig.Builder from(MfaConfig instance)
MfaConfig
instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final MfaConfig.Builder enabled(Boolean enabled)
enabled
attribute.enabled
- The value for enabled (can be null
)this
builder for use in a chained invocationpublic final MfaConfig.Builder providerName(String providerName)
providerName
attribute.providerName
- The value for providerName (can be null
)this
builder for use in a chained invocationpublic MfaConfig build()
MfaConfig
.IllegalStateException
- if any required attributes are missingCopyright © 2018 Pivotal Software, Inc.. All rights reserved.