public static class UsageLimitSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UsageLimitSummary.Builder |
action(UsageLimitSummary.Action action)
The action when usage limit is hit
|
UsageLimitSummary.Builder |
alertLevel(BigDecimal alertLevel)
The alert level of the usage limit
|
UsageLimitSummary |
build() |
UsageLimitSummary.Builder |
copy(UsageLimitSummary model) |
UsageLimitSummary.Builder |
createdBy(String createdBy)
The user who created the limit
|
UsageLimitSummary.Builder |
entitlementId(String entitlementId)
Entitlement ID of the usage limit
|
UsageLimitSummary.Builder |
id(String id)
The usage limit ID
|
UsageLimitSummary.Builder |
lifecycleState(UsageLimitSummary.LifecycleState lifecycleState)
The usage limit lifecycle state.
|
UsageLimitSummary.Builder |
limit(String limit)
The limit value
|
UsageLimitSummary.Builder |
limitType(UsageLimitSummary.LimitType limitType)
The limit type of the usage limit
|
UsageLimitSummary.Builder |
maxHardLimit(String maxHardLimit)
The maximum hard limit set for the usage limit
|
UsageLimitSummary.Builder |
modifiedBy(String modifiedBy)
The user who modified the limit
|
UsageLimitSummary.Builder |
resourceName(String resourceName)
The resource for which the limit is defined
|
UsageLimitSummary.Builder |
serviceName(String serviceName)
The service for which the limit is defined
|
UsageLimitSummary.Builder |
skuPartId(String skuPartId)
The SKU for which the usage limit is set
|
UsageLimitSummary.Builder |
timeCreated(Date timeCreated)
Time when the usage limit was created
|
UsageLimitSummary.Builder |
timeModified(Date timeModified)
Time when the usage limit was modified
|
UsageLimitSummary.Builder |
valueType(UsageLimitSummary.ValueType valueType)
The value type of the usage limit
|
public UsageLimitSummary.Builder timeCreated(Date timeCreated)
Time when the usage limit was created
timeCreated
- the value to setpublic UsageLimitSummary.Builder entitlementId(String entitlementId)
Entitlement ID of the usage limit
entitlementId
- the value to setpublic UsageLimitSummary.Builder id(String id)
The usage limit ID
id
- the value to setpublic UsageLimitSummary.Builder timeModified(Date timeModified)
Time when the usage limit was modified
timeModified
- the value to setpublic UsageLimitSummary.Builder resourceName(String resourceName)
The resource for which the limit is defined
resourceName
- the value to setpublic UsageLimitSummary.Builder serviceName(String serviceName)
The service for which the limit is defined
serviceName
- the value to setpublic UsageLimitSummary.Builder limit(String limit)
The limit value
limit
- the value to setpublic UsageLimitSummary.Builder createdBy(String createdBy)
The user who created the limit
createdBy
- the value to setpublic UsageLimitSummary.Builder modifiedBy(String modifiedBy)
The user who modified the limit
modifiedBy
- the value to setpublic UsageLimitSummary.Builder action(UsageLimitSummary.Action action)
The action when usage limit is hit
action
- the value to setpublic UsageLimitSummary.Builder alertLevel(BigDecimal alertLevel)
The alert level of the usage limit
alertLevel
- the value to setpublic UsageLimitSummary.Builder limitType(UsageLimitSummary.LimitType limitType)
The limit type of the usage limit
limitType
- the value to setpublic UsageLimitSummary.Builder valueType(UsageLimitSummary.ValueType valueType)
The value type of the usage limit
valueType
- the value to setpublic UsageLimitSummary.Builder lifecycleState(UsageLimitSummary.LifecycleState lifecycleState)
The usage limit lifecycle state.
lifecycleState
- the value to setpublic UsageLimitSummary.Builder maxHardLimit(String maxHardLimit)
The maximum hard limit set for the usage limit
maxHardLimit
- the value to setpublic UsageLimitSummary.Builder skuPartId(String skuPartId)
The SKU for which the usage limit is set
skuPartId
- the value to setpublic UsageLimitSummary build()
public UsageLimitSummary.Builder copy(UsageLimitSummary model)
Copyright © 2016–2024. All rights reserved.