Class CsmPublishingCredentialsPoliciesEntityInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.CsmPublishingCredentialsPoliciesEntityInner
Publishing Credentials Policies parameters.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallow()
Get the allow property: <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.void
validate()
Validates the instance.Set the allow property: <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.Set the kind property: Kind of resource.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
CsmPublishingCredentialsPoliciesEntityInner
public CsmPublishingCredentialsPoliciesEntityInner()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
allow
Get the allow property: <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.- Returns:
- the allow value.
-
withAllow
Set the allow property: <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.- Parameters:
allow
- the allow value to set.- Returns:
- the CsmPublishingCredentialsPoliciesEntityInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-