@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceLevelObjectiveBudgetReport extends Object implements Serializable, Cloneable, StructuredPojo
A structure containing an SLO budget report that you have requested.
Constructor and Description |
---|
ServiceLevelObjectiveBudgetReport() |
Modifier and Type | Method and Description |
---|---|
ServiceLevelObjectiveBudgetReport |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the SLO that this report is for.
|
Double |
getAttainment()
A number between 0 and 100 that represents the percentage of time periods that the service has attained the SLO's
attainment goal, as of the time of the request.
|
Integer |
getBudgetSecondsRemaining()
The budget amount remaining before the SLO status becomes
BREACHING , at the time specified in the
Timestemp parameter of the request. |
String |
getBudgetStatus()
The status of this SLO, as it relates to the error budget for the entire time interval.
|
Goal |
getGoal() |
String |
getName()
The name of the SLO that this report is for.
|
ServiceLevelIndicator |
getSli()
A structure that contains information about the performance metric that this SLO monitors.
|
Integer |
getTotalBudgetSeconds()
The total number of seconds in the error budget for the interval.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the SLO that this report is for.
|
void |
setAttainment(Double attainment)
A number between 0 and 100 that represents the percentage of time periods that the service has attained the SLO's
attainment goal, as of the time of the request.
|
void |
setBudgetSecondsRemaining(Integer budgetSecondsRemaining)
The budget amount remaining before the SLO status becomes
BREACHING , at the time specified in the
Timestemp parameter of the request. |
void |
setBudgetStatus(String budgetStatus)
The status of this SLO, as it relates to the error budget for the entire time interval.
|
void |
setGoal(Goal goal) |
void |
setName(String name)
The name of the SLO that this report is for.
|
void |
setSli(ServiceLevelIndicator sli)
A structure that contains information about the performance metric that this SLO monitors.
|
void |
setTotalBudgetSeconds(Integer totalBudgetSeconds)
The total number of seconds in the error budget for the interval.
|
String |
toString()
Returns a string representation of this object.
|
ServiceLevelObjectiveBudgetReport |
withArn(String arn)
The ARN of the SLO that this report is for.
|
ServiceLevelObjectiveBudgetReport |
withAttainment(Double attainment)
A number between 0 and 100 that represents the percentage of time periods that the service has attained the SLO's
attainment goal, as of the time of the request.
|
ServiceLevelObjectiveBudgetReport |
withBudgetSecondsRemaining(Integer budgetSecondsRemaining)
The budget amount remaining before the SLO status becomes
BREACHING , at the time specified in the
Timestemp parameter of the request. |
ServiceLevelObjectiveBudgetReport |
withBudgetStatus(ServiceLevelObjectiveBudgetStatus budgetStatus)
The status of this SLO, as it relates to the error budget for the entire time interval.
|
ServiceLevelObjectiveBudgetReport |
withBudgetStatus(String budgetStatus)
The status of this SLO, as it relates to the error budget for the entire time interval.
|
ServiceLevelObjectiveBudgetReport |
withGoal(Goal goal) |
ServiceLevelObjectiveBudgetReport |
withName(String name)
The name of the SLO that this report is for.
|
ServiceLevelObjectiveBudgetReport |
withSli(ServiceLevelIndicator sli)
A structure that contains information about the performance metric that this SLO monitors.
|
ServiceLevelObjectiveBudgetReport |
withTotalBudgetSeconds(Integer totalBudgetSeconds)
The total number of seconds in the error budget for the interval.
|
public void setArn(String arn)
The ARN of the SLO that this report is for.
arn
- The ARN of the SLO that this report is for.public String getArn()
The ARN of the SLO that this report is for.
public ServiceLevelObjectiveBudgetReport withArn(String arn)
The ARN of the SLO that this report is for.
arn
- The ARN of the SLO that this report is for.public void setName(String name)
The name of the SLO that this report is for.
name
- The name of the SLO that this report is for.public String getName()
The name of the SLO that this report is for.
public ServiceLevelObjectiveBudgetReport withName(String name)
The name of the SLO that this report is for.
name
- The name of the SLO that this report is for.public void setBudgetStatus(String budgetStatus)
The status of this SLO, as it relates to the error budget for the entire time interval.
OK
means that the SLO had remaining budget above the warning threshold, as of the time that you
specified in TimeStamp
.
WARNING
means that the SLO's remaining budget was below the warning threshold, as of the time that
you specified in TimeStamp
.
BREACHED
means that the SLO's budget was exhausted, as of the time that you specified in
TimeStamp
.
INSUFFICIENT_DATA
means that the specifed start and end times were before the SLO was created, or
that attainment data is missing.
budgetStatus
- The status of this SLO, as it relates to the error budget for the entire time interval.
OK
means that the SLO had remaining budget above the warning threshold, as of the time that
you specified in TimeStamp
.
WARNING
means that the SLO's remaining budget was below the warning threshold, as of the time
that you specified in TimeStamp
.
BREACHED
means that the SLO's budget was exhausted, as of the time that you specified in
TimeStamp
.
INSUFFICIENT_DATA
means that the specifed start and end times were before the SLO was
created, or that attainment data is missing.
ServiceLevelObjectiveBudgetStatus
public String getBudgetStatus()
The status of this SLO, as it relates to the error budget for the entire time interval.
OK
means that the SLO had remaining budget above the warning threshold, as of the time that you
specified in TimeStamp
.
WARNING
means that the SLO's remaining budget was below the warning threshold, as of the time that
you specified in TimeStamp
.
BREACHED
means that the SLO's budget was exhausted, as of the time that you specified in
TimeStamp
.
INSUFFICIENT_DATA
means that the specifed start and end times were before the SLO was created, or
that attainment data is missing.
OK
means that the SLO had remaining budget above the warning threshold, as of the time that
you specified in TimeStamp
.
WARNING
means that the SLO's remaining budget was below the warning threshold, as of the
time that you specified in TimeStamp
.
BREACHED
means that the SLO's budget was exhausted, as of the time that you specified in
TimeStamp
.
INSUFFICIENT_DATA
means that the specifed start and end times were before the SLO was
created, or that attainment data is missing.
ServiceLevelObjectiveBudgetStatus
public ServiceLevelObjectiveBudgetReport withBudgetStatus(String budgetStatus)
The status of this SLO, as it relates to the error budget for the entire time interval.
OK
means that the SLO had remaining budget above the warning threshold, as of the time that you
specified in TimeStamp
.
WARNING
means that the SLO's remaining budget was below the warning threshold, as of the time that
you specified in TimeStamp
.
BREACHED
means that the SLO's budget was exhausted, as of the time that you specified in
TimeStamp
.
INSUFFICIENT_DATA
means that the specifed start and end times were before the SLO was created, or
that attainment data is missing.
budgetStatus
- The status of this SLO, as it relates to the error budget for the entire time interval.
OK
means that the SLO had remaining budget above the warning threshold, as of the time that
you specified in TimeStamp
.
WARNING
means that the SLO's remaining budget was below the warning threshold, as of the time
that you specified in TimeStamp
.
BREACHED
means that the SLO's budget was exhausted, as of the time that you specified in
TimeStamp
.
INSUFFICIENT_DATA
means that the specifed start and end times were before the SLO was
created, or that attainment data is missing.
ServiceLevelObjectiveBudgetStatus
public ServiceLevelObjectiveBudgetReport withBudgetStatus(ServiceLevelObjectiveBudgetStatus budgetStatus)
The status of this SLO, as it relates to the error budget for the entire time interval.
OK
means that the SLO had remaining budget above the warning threshold, as of the time that you
specified in TimeStamp
.
WARNING
means that the SLO's remaining budget was below the warning threshold, as of the time that
you specified in TimeStamp
.
BREACHED
means that the SLO's budget was exhausted, as of the time that you specified in
TimeStamp
.
INSUFFICIENT_DATA
means that the specifed start and end times were before the SLO was created, or
that attainment data is missing.
budgetStatus
- The status of this SLO, as it relates to the error budget for the entire time interval.
OK
means that the SLO had remaining budget above the warning threshold, as of the time that
you specified in TimeStamp
.
WARNING
means that the SLO's remaining budget was below the warning threshold, as of the time
that you specified in TimeStamp
.
BREACHED
means that the SLO's budget was exhausted, as of the time that you specified in
TimeStamp
.
INSUFFICIENT_DATA
means that the specifed start and end times were before the SLO was
created, or that attainment data is missing.
ServiceLevelObjectiveBudgetStatus
public void setAttainment(Double attainment)
A number between 0 and 100 that represents the percentage of time periods that the service has attained the SLO's attainment goal, as of the time of the request.
attainment
- A number between 0 and 100 that represents the percentage of time periods that the service has attained
the SLO's attainment goal, as of the time of the request.public Double getAttainment()
A number between 0 and 100 that represents the percentage of time periods that the service has attained the SLO's attainment goal, as of the time of the request.
public ServiceLevelObjectiveBudgetReport withAttainment(Double attainment)
A number between 0 and 100 that represents the percentage of time periods that the service has attained the SLO's attainment goal, as of the time of the request.
attainment
- A number between 0 and 100 that represents the percentage of time periods that the service has attained
the SLO's attainment goal, as of the time of the request.public void setTotalBudgetSeconds(Integer totalBudgetSeconds)
The total number of seconds in the error budget for the interval.
totalBudgetSeconds
- The total number of seconds in the error budget for the interval.public Integer getTotalBudgetSeconds()
The total number of seconds in the error budget for the interval.
public ServiceLevelObjectiveBudgetReport withTotalBudgetSeconds(Integer totalBudgetSeconds)
The total number of seconds in the error budget for the interval.
totalBudgetSeconds
- The total number of seconds in the error budget for the interval.public void setBudgetSecondsRemaining(Integer budgetSecondsRemaining)
The budget amount remaining before the SLO status becomes BREACHING
, at the time specified in the
Timestemp
parameter of the request. If this value is negative, then the SLO is already in
BREACHING
status.
budgetSecondsRemaining
- The budget amount remaining before the SLO status becomes BREACHING
, at the time specified in
the Timestemp
parameter of the request. If this value is negative, then the SLO is already in
BREACHING
status.public Integer getBudgetSecondsRemaining()
The budget amount remaining before the SLO status becomes BREACHING
, at the time specified in the
Timestemp
parameter of the request. If this value is negative, then the SLO is already in
BREACHING
status.
BREACHING
, at the time specified
in the Timestemp
parameter of the request. If this value is negative, then the SLO is
already in BREACHING
status.public ServiceLevelObjectiveBudgetReport withBudgetSecondsRemaining(Integer budgetSecondsRemaining)
The budget amount remaining before the SLO status becomes BREACHING
, at the time specified in the
Timestemp
parameter of the request. If this value is negative, then the SLO is already in
BREACHING
status.
budgetSecondsRemaining
- The budget amount remaining before the SLO status becomes BREACHING
, at the time specified in
the Timestemp
parameter of the request. If this value is negative, then the SLO is already in
BREACHING
status.public void setSli(ServiceLevelIndicator sli)
A structure that contains information about the performance metric that this SLO monitors.
sli
- A structure that contains information about the performance metric that this SLO monitors.public ServiceLevelIndicator getSli()
A structure that contains information about the performance metric that this SLO monitors.
public ServiceLevelObjectiveBudgetReport withSli(ServiceLevelIndicator sli)
A structure that contains information about the performance metric that this SLO monitors.
sli
- A structure that contains information about the performance metric that this SLO monitors.public void setGoal(Goal goal)
goal
- public Goal getGoal()
public ServiceLevelObjectiveBudgetReport withGoal(Goal goal)
goal
- public String toString()
toString
in class Object
Object.toString()
public ServiceLevelObjectiveBudgetReport clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.