Class PortalRevisionContractProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.fluent.models.PortalRevisionContractProperties
-
public final class PortalRevisionContractProperties extends Object
The PortalRevisionContractProperties model.
-
-
Constructor Summary
Constructors Constructor Description PortalRevisionContractProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
createdDateTime()
Get the createdDateTime property: Portal's revision creation date and time.String
description()
Get the description property: Portal revision description.Boolean
isCurrent()
Get the isCurrent property: Indicates if the portal's revision is public.PortalRevisionStatus
status()
Get the status property: Status of the portal's revision.String
statusDetails()
Get the statusDetails property: Portal revision publishing status details.OffsetDateTime
updatedDateTime()
Get the updatedDateTime property: Last updated date and time.void
validate()
Validates the instance.PortalRevisionContractProperties
withDescription(String description)
Set the description property: Portal revision description.PortalRevisionContractProperties
withIsCurrent(Boolean isCurrent)
Set the isCurrent property: Indicates if the portal's revision is public.
-
-
-
Method Detail
-
description
public String description()
Get the description property: Portal revision description.- Returns:
- the description value.
-
withDescription
public PortalRevisionContractProperties withDescription(String description)
Set the description property: Portal revision description.- Parameters:
description
- the description value to set.- Returns:
- the PortalRevisionContractProperties object itself.
-
statusDetails
public String statusDetails()
Get the statusDetails property: Portal revision publishing status details.- Returns:
- the statusDetails value.
-
status
public PortalRevisionStatus status()
Get the status property: Status of the portal's revision.- Returns:
- the status value.
-
isCurrent
public Boolean isCurrent()
Get the isCurrent property: Indicates if the portal's revision is public.- Returns:
- the isCurrent value.
-
withIsCurrent
public PortalRevisionContractProperties withIsCurrent(Boolean isCurrent)
Set the isCurrent property: Indicates if the portal's revision is public.- Parameters:
isCurrent
- the isCurrent value to set.- Returns:
- the PortalRevisionContractProperties object itself.
-
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: Portal's revision creation date and time.- Returns:
- the createdDateTime value.
-
updatedDateTime
public OffsetDateTime updatedDateTime()
Get the updatedDateTime property: Last updated date and time.- Returns:
- the updatedDateTime value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-