SecurityPartnerProviderInner Class

public final class SecurityPartnerProviderInner
extends Resource

Security Partner Provider resource.

Constructor Summary

Constructor Description
SecurityPartnerProviderInner()

Creates an instance of SecurityPartnerProviderInner class.

Method Summary

Modifier and Type Method and Description
SecurityPartnerProviderConnectionStatus connectionStatus()

Get the connectionStatus property: The connection status with the Security Partner Provider.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static SecurityPartnerProviderInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityPartnerProviderInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the Security Partner Provider resource.

SecurityProviderName securityProviderName()

Get the securityProviderName property: The security provider name.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SubResource virtualHub()

Get the virtualHub property: The virtualHub to which the Security Partner Provider belongs.

SecurityPartnerProviderInner withId(String id)

Set the id property: Resource ID.

SecurityPartnerProviderInner withLocation(String location)
SecurityPartnerProviderInner withSecurityProviderName(SecurityProviderName securityProviderName)

Set the securityProviderName property: The security provider name.

SecurityPartnerProviderInner withTags(Map<String,String> tags)
SecurityPartnerProviderInner withVirtualHub(SubResource virtualHub)

Set the virtualHub property: The virtualHub to which the Security Partner Provider belongs.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

SecurityPartnerProviderInner

public SecurityPartnerProviderInner()

Creates an instance of SecurityPartnerProviderInner class.

Method Details

connectionStatus

public SecurityPartnerProviderConnectionStatus connectionStatus()

Get the connectionStatus property: The connection status with the Security Partner Provider.

Returns:

the connectionStatus value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static SecurityPartnerProviderInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityPartnerProviderInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SecurityPartnerProviderInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Resource ID.

Overrides:

SecurityPartnerProviderInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SecurityPartnerProviderInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the Security Partner Provider resource.

Returns:

the provisioningState value.

securityProviderName

public SecurityProviderName securityProviderName()

Get the securityProviderName property: The security provider name.

Returns:

the securityProviderName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SecurityPartnerProviderInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SecurityPartnerProviderInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

virtualHub

public SubResource virtualHub()

Get the virtualHub property: The virtualHub to which the Security Partner Provider belongs.

Returns:

the virtualHub value.

withId

public SecurityPartnerProviderInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the SecurityPartnerProviderInner object itself.

withLocation

public SecurityPartnerProviderInner withLocation(String location)

Overrides:

SecurityPartnerProviderInner.withLocation(String location)

Parameters:

location

withSecurityProviderName

public SecurityPartnerProviderInner withSecurityProviderName(SecurityProviderName securityProviderName)

Set the securityProviderName property: The security provider name.

Parameters:

securityProviderName - the securityProviderName value to set.

Returns:

the SecurityPartnerProviderInner object itself.

withTags

public SecurityPartnerProviderInner withTags(Map tags)

Overrides:

SecurityPartnerProviderInner.withTags(Map<String,String> tags)

Parameters:

tags

withVirtualHub

public SecurityPartnerProviderInner withVirtualHub(SubResource virtualHub)

Set the virtualHub property: The virtualHub to which the Security Partner Provider belongs.

Parameters:

virtualHub - the virtualHub value to set.

Returns:

the SecurityPartnerProviderInner object itself.

Applies to