WnsCredential Class

  • java.lang.Object
    • com.azure.resourcemanager.notificationhubs.models.WnsCredential

public final class WnsCredential

Description of a NotificationHub WnsCredential.

Constructor Summary

Constructor Description
WnsCredential()

Creates an instance of WnsCredential class.

Method Summary

Modifier and Type Method and Description
String certificateKey()

Get the certificateKey property: Ges or sets the WNS Certificate Key.

String packageSid()

Get the packageSid property: Gets or sets the package ID for this credential.

String secretKey()

Get the secretKey property: Gets or sets the secret key.

void validate()

Validates the instance.

String windowsLiveEndpoint()

Get the windowsLiveEndpoint property: Gets or sets the Windows Live endpoint.

WnsCredential withCertificateKey(String certificateKey)

Set the certificateKey property: Ges or sets the WNS Certificate Key.

WnsCredential withPackageSid(String packageSid)

Set the packageSid property: Gets or sets the package ID for this credential.

WnsCredential withSecretKey(String secretKey)

Set the secretKey property: Gets or sets the secret key.

WnsCredential withWindowsLiveEndpoint(String windowsLiveEndpoint)

Set the windowsLiveEndpoint property: Gets or sets the Windows Live endpoint.

WnsCredential withWnsCertificate(String wnsCertificate)

Set the wnsCertificate property: Gets or sets the WNS Certificate.

String wnsCertificate()

Get the wnsCertificate property: Gets or sets the WNS Certificate.

Methods inherited from java.lang.Object

Constructor Details

WnsCredential

public WnsCredential()

Creates an instance of WnsCredential class.

Method Details

certificateKey

public String certificateKey()

Get the certificateKey property: Ges or sets the WNS Certificate Key.

Returns:

the certificateKey value.

packageSid

public String packageSid()

Get the packageSid property: Gets or sets the package ID for this credential.

Returns:

the packageSid value.

secretKey

public String secretKey()

Get the secretKey property: Gets or sets the secret key.

Returns:

the secretKey value.

validate

public void validate()

Validates the instance.

windowsLiveEndpoint

public String windowsLiveEndpoint()

Get the windowsLiveEndpoint property: Gets or sets the Windows Live endpoint.

Returns:

the windowsLiveEndpoint value.

withCertificateKey

public WnsCredential withCertificateKey(String certificateKey)

Set the certificateKey property: Ges or sets the WNS Certificate Key.

Parameters:

certificateKey - the certificateKey value to set.

Returns:

the WnsCredential object itself.

withPackageSid

public WnsCredential withPackageSid(String packageSid)

Set the packageSid property: Gets or sets the package ID for this credential.

Parameters:

packageSid - the packageSid value to set.

Returns:

the WnsCredential object itself.

withSecretKey

public WnsCredential withSecretKey(String secretKey)

Set the secretKey property: Gets or sets the secret key.

Parameters:

secretKey - the secretKey value to set.

Returns:

the WnsCredential object itself.

withWindowsLiveEndpoint

public WnsCredential withWindowsLiveEndpoint(String windowsLiveEndpoint)

Set the windowsLiveEndpoint property: Gets or sets the Windows Live endpoint.

Parameters:

windowsLiveEndpoint - the windowsLiveEndpoint value to set.

Returns:

the WnsCredential object itself.

withWnsCertificate

public WnsCredential withWnsCertificate(String wnsCertificate)

Set the wnsCertificate property: Gets or sets the WNS Certificate.

Parameters:

wnsCertificate - the wnsCertificate value to set.

Returns:

the WnsCredential object itself.

wnsCertificate

public String wnsCertificate()

Get the wnsCertificate property: Gets or sets the WNS Certificate.

Returns:

the wnsCertificate value.

Applies to