CsmPublishingCredentialsPoliciesEntityInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. CsmPublishingCredentialsPoliciesEntityInner
- com.
- com.
- com.
public final class CsmPublishingCredentialsPoliciesEntityInner
extends ProxyOnlyResource
Publishing Credentials Policies parameters.
Constructor Summary
Constructor | Description |
---|---|
CsmPublishingCredentialsPoliciesEntityInner() |
Creates an instance of Csm |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
allow()
Get the allow property: |
static
Csm |
fromJson(JsonReader jsonReader)
Reads an instance of Csm |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Csm |
withAllow(Boolean allow)
Set the allow property: |
Csm |
withKind(String kind)
Set the kind property: Kind of resource. |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
CsmPublishingCredentialsPoliciesEntityInner
public CsmPublishingCredentialsPoliciesEntityInner()
Creates an instance of CsmPublishingCredentialsPoliciesEntityInner class.
Method Details
allow
public Boolean allow()
Get the allow property: true
to allow access to a publishing method; otherwise, false
.
Returns:
fromJson
public static CsmPublishingCredentialsPoliciesEntityInner fromJson(JsonReader jsonReader)
Reads an instance of CsmPublishingCredentialsPoliciesEntityInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
CsmPublishingCredentialsPoliciesEntityInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CsmPublishingCredentialsPoliciesEntityInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CsmPublishingCredentialsPoliciesEntityInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CsmPublishingCredentialsPoliciesEntityInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
CsmPublishingCredentialsPoliciesEntityInner.validate()withAllow
public CsmPublishingCredentialsPoliciesEntityInner withAllow(Boolean allow)
Set the allow property: true
to allow access to a publishing method; otherwise, false
.
Parameters:
Returns:
withKind
public CsmPublishingCredentialsPoliciesEntityInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
CsmPublishingCredentialsPoliciesEntityInner.withKind(String kind)Parameters:
Applies to
Azure SDK for Java