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
ConstructorsConstructorDescriptionCreates an instance of CsmPublishingCredentialsPoliciesEntityInner class. -
Method Summary
Modifier and TypeMethodDescriptionallow()Get the allow property: <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.voidvalidate()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
kindMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
CsmPublishingCredentialsPoliciesEntityInner
public CsmPublishingCredentialsPoliciesEntityInner()Creates an instance of CsmPublishingCredentialsPoliciesEntityInner class.
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin 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:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-