PartnerDestinationInfo Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. PartnerDestinationInfo
- com.
Implements
public class PartnerDestinationInfo
implements JsonSerializable<PartnerDestinationInfo>
Properties of the corresponding partner destination of a Channel.
Constructor Summary
| Constructor | Description |
|---|---|
| PartnerDestinationInfo() |
Creates an instance of Partner |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
azureSubscriptionId()
Get the azure |
| String |
endpointServiceContext()
Get the endpoint |
|
Partner |
endpointType()
Get the endpoint |
|
static
Partner |
fromJson(JsonReader jsonReader)
Reads an instance of Partner |
| String |
name()
Get the name property: Name of the partner destination associated with the channel. |
| String |
resourceGroupName()
Get the resource |
|
List<Resource |
resourceMoveChangeHistory()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Partner |
withAzureSubscriptionId(String azureSubscriptionId)
Set the azure |
|
Partner |
withEndpointServiceContext(String endpointServiceContext)
Set the endpoint |
|
Partner |
withName(String name)
Set the name property: Name of the partner destination associated with the channel. |
|
Partner |
withResourceGroupName(String resourceGroupName)
Set the resource |
|
Partner |
withResourceMoveChangeHistory(List<ResourceMoveChangeHistory> resourceMoveChangeHistory)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
PartnerDestinationInfo
public PartnerDestinationInfo()
Creates an instance of PartnerDestinationInfo class.
Method Details
azureSubscriptionId
public String azureSubscriptionId()
Get the azureSubscriptionId property: Azure subscription ID of the subscriber. The partner destination associated with the channel will be created under this Azure subscription.
Returns:
endpointServiceContext
public String endpointServiceContext()
Get the endpointServiceContext property: Additional context of the partner destination endpoint.
Returns:
endpointType
public PartnerEndpointType endpointType()
Get the endpointType property: Type of the endpoint for the partner destination.
Returns:
fromJson
public static PartnerDestinationInfo fromJson(JsonReader jsonReader)
Reads an instance of PartnerDestinationInfo from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the partner destination associated with the channel.
Returns:
resourceGroupName
public String resourceGroupName()
Get the resourceGroupName property: Azure Resource Group of the subscriber. The partner destination associated with the channel will be created under this resource group.
Returns:
resourceMoveChangeHistory
public List<ResourceMoveChangeHistory> resourceMoveChangeHistory()
Get the resourceMoveChangeHistory property: Change history of the resource move.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAzureSubscriptionId
public PartnerDestinationInfo withAzureSubscriptionId(String azureSubscriptionId)
Set the azureSubscriptionId property: Azure subscription ID of the subscriber. The partner destination associated with the channel will be created under this Azure subscription.
Parameters:
Returns:
withEndpointServiceContext
public PartnerDestinationInfo withEndpointServiceContext(String endpointServiceContext)
Set the endpointServiceContext property: Additional context of the partner destination endpoint.
Parameters:
Returns:
withName
public PartnerDestinationInfo withName(String name)
Set the name property: Name of the partner destination associated with the channel.
Parameters:
Returns:
withResourceGroupName
public PartnerDestinationInfo withResourceGroupName(String resourceGroupName)
Set the resourceGroupName property: Azure Resource Group of the subscriber. The partner destination associated with the channel will be created under this resource group.
Parameters:
Returns:
withResourceMoveChangeHistory
public PartnerDestinationInfo withResourceMoveChangeHistory(List<ResourceMoveChangeHistory> resourceMoveChangeHistory)
Set the resourceMoveChangeHistory property: Change history of the resource move.
Parameters:
Returns: