Class RecoveryPointDataStoreDetails
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.RecoveryPointDataStoreDetails
-
public final class RecoveryPointDataStoreDetails extends Object
RecoveryPointDataStoreDetails RecoveryPoint datastore details.
-
-
Constructor Summary
Constructors Constructor Description RecoveryPointDataStoreDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
creationTime()
Get the creationTime property: The creationTime property.OffsetDateTime
expiryTime()
Get the expiryTime property: The expiryTime property.String
id()
Get the id property: The id property.String
metadata()
Get the metadata property: The metaData property.OffsetDateTime
rehydrationExpiryTime()
Get the rehydrationExpiryTime property: The rehydrationExpiryTime property.RehydrationStatus
rehydrationStatus()
Get the rehydrationStatus property: The rehydrationStatus property.String
state()
Get the state property: The state property.String
type()
Get the type property: The type property.void
validate()
Validates the instance.Boolean
visible()
Get the visible property: The visible property.RecoveryPointDataStoreDetails
withCreationTime(OffsetDateTime creationTime)
Set the creationTime property: The creationTime property.RecoveryPointDataStoreDetails
withExpiryTime(OffsetDateTime expiryTime)
Set the expiryTime property: The expiryTime property.RecoveryPointDataStoreDetails
withId(String id)
Set the id property: The id property.RecoveryPointDataStoreDetails
withMetadata(String metadata)
Set the metadata property: The metaData property.RecoveryPointDataStoreDetails
withState(String state)
Set the state property: The state property.RecoveryPointDataStoreDetails
withType(String type)
Set the type property: The type property.RecoveryPointDataStoreDetails
withVisible(Boolean visible)
Set the visible property: The visible property.
-
-
-
Method Detail
-
creationTime
public OffsetDateTime creationTime()
Get the creationTime property: The creationTime property.- Returns:
- the creationTime value.
-
withCreationTime
public RecoveryPointDataStoreDetails withCreationTime(OffsetDateTime creationTime)
Set the creationTime property: The creationTime property.- Parameters:
creationTime
- the creationTime value to set.- Returns:
- the RecoveryPointDataStoreDetails object itself.
-
expiryTime
public OffsetDateTime expiryTime()
Get the expiryTime property: The expiryTime property.- Returns:
- the expiryTime value.
-
withExpiryTime
public RecoveryPointDataStoreDetails withExpiryTime(OffsetDateTime expiryTime)
Set the expiryTime property: The expiryTime property.- Parameters:
expiryTime
- the expiryTime value to set.- Returns:
- the RecoveryPointDataStoreDetails object itself.
-
id
public String id()
Get the id property: The id property.- Returns:
- the id value.
-
withId
public RecoveryPointDataStoreDetails withId(String id)
Set the id property: The id property.- Parameters:
id
- the id value to set.- Returns:
- the RecoveryPointDataStoreDetails object itself.
-
metadata
public String metadata()
Get the metadata property: The metaData property.- Returns:
- the metadata value.
-
withMetadata
public RecoveryPointDataStoreDetails withMetadata(String metadata)
Set the metadata property: The metaData property.- Parameters:
metadata
- the metadata value to set.- Returns:
- the RecoveryPointDataStoreDetails object itself.
-
state
public String state()
Get the state property: The state property.- Returns:
- the state value.
-
withState
public RecoveryPointDataStoreDetails withState(String state)
Set the state property: The state property.- Parameters:
state
- the state value to set.- Returns:
- the RecoveryPointDataStoreDetails object itself.
-
type
public String type()
Get the type property: The type property.- Returns:
- the type value.
-
withType
public RecoveryPointDataStoreDetails withType(String type)
Set the type property: The type property.- Parameters:
type
- the type value to set.- Returns:
- the RecoveryPointDataStoreDetails object itself.
-
visible
public Boolean visible()
Get the visible property: The visible property.- Returns:
- the visible value.
-
withVisible
public RecoveryPointDataStoreDetails withVisible(Boolean visible)
Set the visible property: The visible property.- Parameters:
visible
- the visible value to set.- Returns:
- the RecoveryPointDataStoreDetails object itself.
-
rehydrationExpiryTime
public OffsetDateTime rehydrationExpiryTime()
Get the rehydrationExpiryTime property: The rehydrationExpiryTime property.- Returns:
- the rehydrationExpiryTime value.
-
rehydrationStatus
public RehydrationStatus rehydrationStatus()
Get the rehydrationStatus property: The rehydrationStatus property.- Returns:
- the rehydrationStatus value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-