@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateServiceLevelObjectiveRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateServiceLevelObjectiveRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateServiceLevelObjectiveRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
An optional description for the SLO.
|
Goal |
getGoal()
A structure that contains the attributes that determine the goal of the SLO.
|
String |
getId()
The Amazon Resource Name (ARN) or name of the service level objective that you want to update.
|
ServiceLevelIndicatorConfig |
getSliConfig()
A structure that contains information about what performance metric this SLO will monitor.
|
int |
hashCode() |
void |
setDescription(String description)
An optional description for the SLO.
|
void |
setGoal(Goal goal)
A structure that contains the attributes that determine the goal of the SLO.
|
void |
setId(String id)
The Amazon Resource Name (ARN) or name of the service level objective that you want to update.
|
void |
setSliConfig(ServiceLevelIndicatorConfig sliConfig)
A structure that contains information about what performance metric this SLO will monitor.
|
String |
toString()
Returns a string representation of this object.
|
UpdateServiceLevelObjectiveRequest |
withDescription(String description)
An optional description for the SLO.
|
UpdateServiceLevelObjectiveRequest |
withGoal(Goal goal)
A structure that contains the attributes that determine the goal of the SLO.
|
UpdateServiceLevelObjectiveRequest |
withId(String id)
The Amazon Resource Name (ARN) or name of the service level objective that you want to update.
|
UpdateServiceLevelObjectiveRequest |
withSliConfig(ServiceLevelIndicatorConfig sliConfig)
A structure that contains information about what performance metric this SLO will monitor.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setId(String id)
The Amazon Resource Name (ARN) or name of the service level objective that you want to update.
id
- The Amazon Resource Name (ARN) or name of the service level objective that you want to update.public String getId()
The Amazon Resource Name (ARN) or name of the service level objective that you want to update.
public UpdateServiceLevelObjectiveRequest withId(String id)
The Amazon Resource Name (ARN) or name of the service level objective that you want to update.
id
- The Amazon Resource Name (ARN) or name of the service level objective that you want to update.public void setDescription(String description)
An optional description for the SLO.
description
- An optional description for the SLO.public String getDescription()
An optional description for the SLO.
public UpdateServiceLevelObjectiveRequest withDescription(String description)
An optional description for the SLO.
description
- An optional description for the SLO.public void setSliConfig(ServiceLevelIndicatorConfig sliConfig)
A structure that contains information about what performance metric this SLO will monitor.
sliConfig
- A structure that contains information about what performance metric this SLO will monitor.public ServiceLevelIndicatorConfig getSliConfig()
A structure that contains information about what performance metric this SLO will monitor.
public UpdateServiceLevelObjectiveRequest withSliConfig(ServiceLevelIndicatorConfig sliConfig)
A structure that contains information about what performance metric this SLO will monitor.
sliConfig
- A structure that contains information about what performance metric this SLO will monitor.public void setGoal(Goal goal)
A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.
goal
- A structure that contains the attributes that determine the goal of the SLO. This includes the time period
for evaluation and the attainment threshold.public Goal getGoal()
A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.
public UpdateServiceLevelObjectiveRequest withGoal(Goal goal)
A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.
goal
- A structure that contains the attributes that determine the goal of the SLO. This includes the time period
for evaluation and the attainment threshold.public String toString()
toString
in class Object
Object.toString()
public UpdateServiceLevelObjectiveRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()