@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricStreamEntry extends Object implements Serializable, Cloneable
This structure contains the configuration information about one metric stream.
Constructor and Description |
---|
MetricStreamEntry() |
Modifier and Type | Method and Description |
---|---|
MetricStreamEntry |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the metric stream.
|
Date |
getCreationDate()
The date that the metric stream was originally created.
|
String |
getFirehoseArn()
The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.
|
Date |
getLastUpdateDate()
The date that the configuration of this metric stream was most recently updated.
|
String |
getName()
The name of the metric stream.
|
String |
getOutputFormat()
The output format of this metric stream.
|
String |
getState()
The current state of this stream.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the metric stream.
|
void |
setCreationDate(Date creationDate)
The date that the metric stream was originally created.
|
void |
setFirehoseArn(String firehoseArn)
The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.
|
void |
setLastUpdateDate(Date lastUpdateDate)
The date that the configuration of this metric stream was most recently updated.
|
void |
setName(String name)
The name of the metric stream.
|
void |
setOutputFormat(String outputFormat)
The output format of this metric stream.
|
void |
setState(String state)
The current state of this stream.
|
String |
toString()
Returns a string representation of this object.
|
MetricStreamEntry |
withArn(String arn)
The ARN of the metric stream.
|
MetricStreamEntry |
withCreationDate(Date creationDate)
The date that the metric stream was originally created.
|
MetricStreamEntry |
withFirehoseArn(String firehoseArn)
The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.
|
MetricStreamEntry |
withLastUpdateDate(Date lastUpdateDate)
The date that the configuration of this metric stream was most recently updated.
|
MetricStreamEntry |
withName(String name)
The name of the metric stream.
|
MetricStreamEntry |
withOutputFormat(MetricStreamOutputFormat outputFormat)
The output format of this metric stream.
|
MetricStreamEntry |
withOutputFormat(String outputFormat)
The output format of this metric stream.
|
MetricStreamEntry |
withState(String state)
The current state of this stream.
|
public void setArn(String arn)
The ARN of the metric stream.
arn
- The ARN of the metric stream.public String getArn()
The ARN of the metric stream.
public MetricStreamEntry withArn(String arn)
The ARN of the metric stream.
arn
- The ARN of the metric stream.public void setCreationDate(Date creationDate)
The date that the metric stream was originally created.
creationDate
- The date that the metric stream was originally created.public Date getCreationDate()
The date that the metric stream was originally created.
public MetricStreamEntry withCreationDate(Date creationDate)
The date that the metric stream was originally created.
creationDate
- The date that the metric stream was originally created.public void setLastUpdateDate(Date lastUpdateDate)
The date that the configuration of this metric stream was most recently updated.
lastUpdateDate
- The date that the configuration of this metric stream was most recently updated.public Date getLastUpdateDate()
The date that the configuration of this metric stream was most recently updated.
public MetricStreamEntry withLastUpdateDate(Date lastUpdateDate)
The date that the configuration of this metric stream was most recently updated.
lastUpdateDate
- The date that the configuration of this metric stream was most recently updated.public void setName(String name)
The name of the metric stream.
name
- The name of the metric stream.public String getName()
The name of the metric stream.
public MetricStreamEntry withName(String name)
The name of the metric stream.
name
- The name of the metric stream.public void setFirehoseArn(String firehoseArn)
The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.
firehoseArn
- The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.public String getFirehoseArn()
The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.
public MetricStreamEntry withFirehoseArn(String firehoseArn)
The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.
firehoseArn
- The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.public void setState(String state)
The current state of this stream. Valid values are running
and stopped
.
state
- The current state of this stream. Valid values are running
and stopped
.public String getState()
The current state of this stream. Valid values are running
and stopped
.
running
and stopped
.public MetricStreamEntry withState(String state)
The current state of this stream. Valid values are running
and stopped
.
state
- The current state of this stream. Valid values are running
and stopped
.public void setOutputFormat(String outputFormat)
The output format of this metric stream. Valid values are json
and opentelemetry0.7
.
outputFormat
- The output format of this metric stream. Valid values are json
and
opentelemetry0.7
.MetricStreamOutputFormat
public String getOutputFormat()
The output format of this metric stream. Valid values are json
and opentelemetry0.7
.
json
and
opentelemetry0.7
.MetricStreamOutputFormat
public MetricStreamEntry withOutputFormat(String outputFormat)
The output format of this metric stream. Valid values are json
and opentelemetry0.7
.
outputFormat
- The output format of this metric stream. Valid values are json
and
opentelemetry0.7
.MetricStreamOutputFormat
public MetricStreamEntry withOutputFormat(MetricStreamOutputFormat outputFormat)
The output format of this metric stream. Valid values are json
and opentelemetry0.7
.
outputFormat
- The output format of this metric stream. Valid values are json
and
opentelemetry0.7
.MetricStreamOutputFormat
public String toString()
toString
in class Object
Object.toString()
public MetricStreamEntry clone()
Copyright © 2023. All rights reserved.