public final class SwitchingToVmcModeParameters
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
SwitchingToVmcModeParameters.Builder
Builder class for
SwitchingToVmcModeParameters . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
MODE_ID_ON_PREM |
static java.lang.String |
MODE_ID_SERVICE |
static java.lang.String |
MODE_ID_VMC |
static java.lang.String |
MODE_ID_VMC_LOCAL |
static java.lang.String |
RESOURCE_TYPE_SWITCHINGTOVMCMODEPARAMETERS |
Modifier | Constructor and Description |
---|---|
|
SwitchingToVmcModeParameters()
Default constructor.
|
protected |
SwitchingToVmcModeParameters(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static SwitchingToVmcModeParameters |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static SwitchingToVmcModeParameters |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
Oauth2Credentials |
getAuthCode() |
java.lang.String |
getBaseUrl()
Protocol and domain name (or IP address) of a CSP server, like
\"https://console-stg.cloud.vmware.com\".
|
java.util.List<java.lang.String> |
getBasicAuthWhitelistIps()
List of whitelist IPs for basic auth
|
java.lang.String |
getCspAccessTokenUri()
This CSP end-point exchanges one of the following grants - authorization_code,
refresh_token, client_credentials or client_delegate for an access token.
|
Oauth2Credentials |
getCspClientCredential() |
java.util.List<java.lang.String> |
getCspClientIncomingCredentials()
List of incoming client IDs
|
java.lang.String |
getCspLogoutUri()
This CSP end-point returns the identity provider's logout url.
|
java.lang.String |
getCspOrgUri()
Relative path on CSP server to the Org location.
|
java.lang.String |
getCspPublicKeyUri()
CSP endpoint that returns a list of public keys in jwks format.
|
java.lang.Long |
getCspTimeDrift()
CSP time drift in milliseconds format: int64
|
java.lang.String |
getCspUserAuthorizationUri()
This endpoint is used with browser redirection only.
|
java.lang.String |
getCspUserInfoUri()
This endpoint returns the content of the given access token if the token is
valid.
|
java.lang.String |
getDefaultOrgId()
Org ID of a Client - commonly UUID.
|
OrgInfo |
getEaOrg() |
OrgInfo |
getGssOrg() |
java.lang.Boolean |
getModeChangeOnly()
When this parameter is set to true, only a change of the node mode happens
without any update to the auth properties.
|
java.lang.String |
getModeId()
Possible values are:
MODE_ID_ON_PREM
MODE_ID_SERVICE
MODE_ID_VMC
MODE_ID_VMC_LOCAL
Possible enum values in a \"/config/nsx_appliance_mode\" file |
java.lang.String |
getProxyHost()
IP/host of PoP (Point-of-Presence) HTTP proxy server format: hostname-or-ip
|
java.lang.Long |
getProxyPort()
Port of PoP (Point-of-Presence) Http proxy server format: int64
|
PublicClientInfo |
getPublicClientInfo() |
java.lang.String |
getResourceType()
Possible values are:
RESOURCE_TYPE_SWITCHINGTOVMCMODEPARAMETERS
Node Mode type |
Oauth2Credentials |
getSaasCspClientCredential() |
java.lang.String |
getSaasServiceUrl()
Protocol and domain name (or IP address) of a SAAS server, like
\"https://stg.skyscraper.vmware.com\".
|
java.lang.String |
getSddcId()
SDDC id
|
java.lang.String |
getServiceDefinitionId()
Service definition id
|
OrgInfo |
getSreOrg() |
int |
hashCode() |
void |
setAuthCode(Oauth2Credentials authCode) |
void |
setBaseUrl(java.lang.String baseUrl)
Protocol and domain name (or IP address) of a CSP server, like
\"https://console-stg.cloud.vmware.com\".
|
void |
setBasicAuthWhitelistIps(java.util.List<java.lang.String> basicAuthWhitelistIps)
List of whitelist IPs for basic auth
|
void |
setCspAccessTokenUri(java.lang.String cspAccessTokenUri)
This CSP end-point exchanges one of the following grants - authorization_code,
refresh_token, client_credentials or client_delegate for an access token.
|
void |
setCspClientCredential(Oauth2Credentials cspClientCredential) |
void |
setCspClientIncomingCredentials(java.util.List<java.lang.String> cspClientIncomingCredentials)
List of incoming client IDs
|
void |
setCspLogoutUri(java.lang.String cspLogoutUri)
This CSP end-point returns the identity provider's logout url.
|
void |
setCspOrgUri(java.lang.String cspOrgUri)
Relative path on CSP server to the Org location.
|
void |
setCspPublicKeyUri(java.lang.String cspPublicKeyUri)
CSP endpoint that returns a list of public keys in jwks format.
|
void |
setCspTimeDrift(java.lang.Long cspTimeDrift)
CSP time drift in milliseconds format: int64
|
void |
setCspUserAuthorizationUri(java.lang.String cspUserAuthorizationUri)
This endpoint is used with browser redirection only.
|
void |
setCspUserInfoUri(java.lang.String cspUserInfoUri)
This endpoint returns the content of the given access token if the token is
valid.
|
void |
setDefaultOrgId(java.lang.String defaultOrgId)
Org ID of a Client - commonly UUID.
|
void |
setEaOrg(OrgInfo eaOrg) |
void |
setGssOrg(OrgInfo gssOrg) |
void |
setModeChangeOnly(java.lang.Boolean modeChangeOnly)
When this parameter is set to true, only a change of the node mode happens
without any update to the auth properties.
|
void |
setModeId(java.lang.String modeId)
Possible values are:
MODE_ID_ON_PREM
MODE_ID_SERVICE
MODE_ID_VMC
MODE_ID_VMC_LOCAL
Possible enum values in a \"/config/nsx_appliance_mode\" file |
void |
setProxyHost(java.lang.String proxyHost)
IP/host of PoP (Point-of-Presence) HTTP proxy server format: hostname-or-ip
|
void |
setProxyPort(java.lang.Long proxyPort)
Port of PoP (Point-of-Presence) Http proxy server format: int64
|
void |
setPublicClientInfo(PublicClientInfo publicClientInfo) |
void |
setResourceType(java.lang.String resourceType)
Possible values are:
RESOURCE_TYPE_SWITCHINGTOVMCMODEPARAMETERS
Node Mode type |
void |
setSaasCspClientCredential(Oauth2Credentials saasCspClientCredential) |
void |
setSaasServiceUrl(java.lang.String saasServiceUrl)
Protocol and domain name (or IP address) of a SAAS server, like
\"https://stg.skyscraper.vmware.com\".
|
void |
setSddcId(java.lang.String sddcId)
SDDC id
|
void |
setServiceDefinitionId(java.lang.String serviceDefinitionId)
Service definition id
|
void |
setSreOrg(OrgInfo sreOrg) |
java.lang.String |
toString() |
public static final java.lang.String MODE_ID_ON_PREM
public static final java.lang.String MODE_ID_SERVICE
public static final java.lang.String MODE_ID_VMC
public static final java.lang.String MODE_ID_VMC_LOCAL
public static final java.lang.String RESOURCE_TYPE_SWITCHINGTOVMCMODEPARAMETERS
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public SwitchingToVmcModeParameters()
protected SwitchingToVmcModeParameters(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getModeId()
public void setModeId(java.lang.String modeId)
modeId
- New value for the property.public Oauth2Credentials getAuthCode()
public void setAuthCode(Oauth2Credentials authCode)
authCode
- New value for the property.public java.lang.String getBaseUrl()
public void setBaseUrl(java.lang.String baseUrl)
baseUrl
- New value for the property.public java.util.List<java.lang.String> getBasicAuthWhitelistIps()
public void setBasicAuthWhitelistIps(java.util.List<java.lang.String> basicAuthWhitelistIps)
basicAuthWhitelistIps
- New value for the property.public java.lang.String getCspAccessTokenUri()
public void setCspAccessTokenUri(java.lang.String cspAccessTokenUri)
cspAccessTokenUri
- New value for the property.public Oauth2Credentials getCspClientCredential()
public void setCspClientCredential(Oauth2Credentials cspClientCredential)
cspClientCredential
- New value for the property.public java.util.List<java.lang.String> getCspClientIncomingCredentials()
public void setCspClientIncomingCredentials(java.util.List<java.lang.String> cspClientIncomingCredentials)
cspClientIncomingCredentials
- New value for the property.public java.lang.String getCspLogoutUri()
public void setCspLogoutUri(java.lang.String cspLogoutUri)
cspLogoutUri
- New value for the property.public java.lang.String getCspOrgUri()
public void setCspOrgUri(java.lang.String cspOrgUri)
cspOrgUri
- New value for the property.public java.lang.String getCspPublicKeyUri()
public void setCspPublicKeyUri(java.lang.String cspPublicKeyUri)
cspPublicKeyUri
- New value for the property.public java.lang.Long getCspTimeDrift()
public void setCspTimeDrift(java.lang.Long cspTimeDrift)
cspTimeDrift
- New value for the property.public java.lang.String getCspUserAuthorizationUri()
public void setCspUserAuthorizationUri(java.lang.String cspUserAuthorizationUri)
cspUserAuthorizationUri
- New value for the property.public java.lang.String getCspUserInfoUri()
public void setCspUserInfoUri(java.lang.String cspUserInfoUri)
cspUserInfoUri
- New value for the property.public java.lang.String getDefaultOrgId()
public void setDefaultOrgId(java.lang.String defaultOrgId)
defaultOrgId
- New value for the property.public OrgInfo getEaOrg()
public void setEaOrg(OrgInfo eaOrg)
eaOrg
- New value for the property.public OrgInfo getGssOrg()
public void setGssOrg(OrgInfo gssOrg)
gssOrg
- New value for the property.public java.lang.Boolean getModeChangeOnly()
public void setModeChangeOnly(java.lang.Boolean modeChangeOnly)
modeChangeOnly
- New value for the property.public java.lang.String getProxyHost()
public void setProxyHost(java.lang.String proxyHost)
proxyHost
- New value for the property.public java.lang.Long getProxyPort()
public void setProxyPort(java.lang.Long proxyPort)
proxyPort
- New value for the property.public PublicClientInfo getPublicClientInfo()
public void setPublicClientInfo(PublicClientInfo publicClientInfo)
publicClientInfo
- New value for the property.public java.lang.String getResourceType()
public void setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public Oauth2Credentials getSaasCspClientCredential()
public void setSaasCspClientCredential(Oauth2Credentials saasCspClientCredential)
saasCspClientCredential
- New value for the property.public java.lang.String getSaasServiceUrl()
public void setSaasServiceUrl(java.lang.String saasServiceUrl)
saasServiceUrl
- New value for the property.public java.lang.String getSddcId()
public void setSddcId(java.lang.String sddcId)
sddcId
- New value for the property.public java.lang.String getServiceDefinitionId()
public void setServiceDefinitionId(java.lang.String serviceDefinitionId)
serviceDefinitionId
- New value for the property.public OrgInfo getSreOrg()
public void setSreOrg(OrgInfo sreOrg)
sreOrg
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static SwitchingToVmcModeParameters _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static SwitchingToVmcModeParameters _newInstance2(com.vmware.vapi.data.StructValue structValue)