@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMetricStreamResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMetricStreamResult() |
Modifier and Type | Method and Description |
---|---|
GetMetricStreamResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the metric stream.
|
Date |
getCreationDate()
The date that the metric stream was created.
|
List<MetricStreamFilter> |
getExcludeFilters()
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not
streamed by this metric stream.
|
String |
getFirehoseArn()
The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.
|
List<MetricStreamFilter> |
getIncludeFilters()
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are
streamed by this metric stream.
|
Boolean |
getIncludeLinkedAccountsMetrics()
If this is
true and this metric stream is in a monitoring account, then the stream includes metrics
from source accounts that the monitoring account is linked to. |
Date |
getLastUpdateDate()
The date of the most recent update to the metric stream's configuration.
|
String |
getName()
The name of the metric stream.
|
String |
getOutputFormat()
The output format for the stream.
|
String |
getRoleArn()
The ARN of the IAM role that is used by this metric stream.
|
String |
getState()
The state of the metric stream.
|
List<MetricStreamStatisticsConfiguration> |
getStatisticsConfigurations()
Each entry in this array displays information about one or more metrics that include additional statistics in the
metric stream.
|
int |
hashCode() |
Boolean |
isIncludeLinkedAccountsMetrics()
If this is
true and this metric stream is in a monitoring account, then the stream includes metrics
from source accounts that the monitoring account is linked to. |
void |
setArn(String arn)
The ARN of the metric stream.
|
void |
setCreationDate(Date creationDate)
The date that the metric stream was created.
|
void |
setExcludeFilters(Collection<MetricStreamFilter> excludeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not
streamed by this metric stream.
|
void |
setFirehoseArn(String firehoseArn)
The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.
|
void |
setIncludeFilters(Collection<MetricStreamFilter> includeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are
streamed by this metric stream.
|
void |
setIncludeLinkedAccountsMetrics(Boolean includeLinkedAccountsMetrics)
If this is
true and this metric stream is in a monitoring account, then the stream includes metrics
from source accounts that the monitoring account is linked to. |
void |
setLastUpdateDate(Date lastUpdateDate)
The date of the most recent update to the metric stream's configuration.
|
void |
setName(String name)
The name of the metric stream.
|
void |
setOutputFormat(String outputFormat)
The output format for the stream.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that is used by this metric stream.
|
void |
setState(String state)
The state of the metric stream.
|
void |
setStatisticsConfigurations(Collection<MetricStreamStatisticsConfiguration> statisticsConfigurations)
Each entry in this array displays information about one or more metrics that include additional statistics in the
metric stream.
|
String |
toString()
Returns a string representation of this object.
|
GetMetricStreamResult |
withArn(String arn)
The ARN of the metric stream.
|
GetMetricStreamResult |
withCreationDate(Date creationDate)
The date that the metric stream was created.
|
GetMetricStreamResult |
withExcludeFilters(Collection<MetricStreamFilter> excludeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not
streamed by this metric stream.
|
GetMetricStreamResult |
withExcludeFilters(MetricStreamFilter... excludeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not
streamed by this metric stream.
|
GetMetricStreamResult |
withFirehoseArn(String firehoseArn)
The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.
|
GetMetricStreamResult |
withIncludeFilters(Collection<MetricStreamFilter> includeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are
streamed by this metric stream.
|
GetMetricStreamResult |
withIncludeFilters(MetricStreamFilter... includeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are
streamed by this metric stream.
|
GetMetricStreamResult |
withIncludeLinkedAccountsMetrics(Boolean includeLinkedAccountsMetrics)
If this is
true and this metric stream is in a monitoring account, then the stream includes metrics
from source accounts that the monitoring account is linked to. |
GetMetricStreamResult |
withLastUpdateDate(Date lastUpdateDate)
The date of the most recent update to the metric stream's configuration.
|
GetMetricStreamResult |
withName(String name)
The name of the metric stream.
|
GetMetricStreamResult |
withOutputFormat(MetricStreamOutputFormat outputFormat)
The output format for the stream.
|
GetMetricStreamResult |
withOutputFormat(String outputFormat)
The output format for the stream.
|
GetMetricStreamResult |
withRoleArn(String roleArn)
The ARN of the IAM role that is used by this metric stream.
|
GetMetricStreamResult |
withState(String state)
The state of the metric stream.
|
GetMetricStreamResult |
withStatisticsConfigurations(Collection<MetricStreamStatisticsConfiguration> statisticsConfigurations)
Each entry in this array displays information about one or more metrics that include additional statistics in the
metric stream.
|
GetMetricStreamResult |
withStatisticsConfigurations(MetricStreamStatisticsConfiguration... statisticsConfigurations)
Each entry in this array displays information about one or more metrics that include additional statistics in the
metric stream.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 GetMetricStreamResult withArn(String arn)
The ARN of the metric stream.
arn
- The ARN of the metric stream.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 GetMetricStreamResult withName(String name)
The name of the metric stream.
name
- The name of the metric stream.public List<MetricStreamFilter> getIncludeFilters()
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are streamed by this metric stream.
public void setIncludeFilters(Collection<MetricStreamFilter> includeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are streamed by this metric stream.
includeFilters
- If this array of metric namespaces is present, then these namespaces are the only metric namespaces that
are streamed by this metric stream.public GetMetricStreamResult withIncludeFilters(MetricStreamFilter... includeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are streamed by this metric stream.
NOTE: This method appends the values to the existing list (if any). Use
setIncludeFilters(java.util.Collection)
or withIncludeFilters(java.util.Collection)
if you want
to override the existing values.
includeFilters
- If this array of metric namespaces is present, then these namespaces are the only metric namespaces that
are streamed by this metric stream.public GetMetricStreamResult withIncludeFilters(Collection<MetricStreamFilter> includeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are streamed by this metric stream.
includeFilters
- If this array of metric namespaces is present, then these namespaces are the only metric namespaces that
are streamed by this metric stream.public List<MetricStreamFilter> getExcludeFilters()
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in the account are streamed by this metric stream.
public void setExcludeFilters(Collection<MetricStreamFilter> excludeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in the account are streamed by this metric stream.
excludeFilters
- If this array of metric namespaces is present, then these namespaces are the only metric namespaces that
are not streamed by this metric stream. In this case, all other metric namespaces in the account are
streamed by this metric stream.public GetMetricStreamResult withExcludeFilters(MetricStreamFilter... excludeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in the account are streamed by this metric stream.
NOTE: This method appends the values to the existing list (if any). Use
setExcludeFilters(java.util.Collection)
or withExcludeFilters(java.util.Collection)
if you want
to override the existing values.
excludeFilters
- If this array of metric namespaces is present, then these namespaces are the only metric namespaces that
are not streamed by this metric stream. In this case, all other metric namespaces in the account are
streamed by this metric stream.public GetMetricStreamResult withExcludeFilters(Collection<MetricStreamFilter> excludeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in the account are streamed by this metric stream.
excludeFilters
- If this array of metric namespaces is present, then these namespaces are the only metric namespaces that
are not streamed by this metric stream. In this case, all other metric namespaces in the account are
streamed by this metric stream.public void setFirehoseArn(String firehoseArn)
The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.
firehoseArn
- The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.public String getFirehoseArn()
The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.
public GetMetricStreamResult withFirehoseArn(String firehoseArn)
The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.
firehoseArn
- The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.public void setRoleArn(String roleArn)
The ARN of the IAM role that is used by this metric stream.
roleArn
- The ARN of the IAM role that is used by this metric stream.public String getRoleArn()
The ARN of the IAM role that is used by this metric stream.
public GetMetricStreamResult withRoleArn(String roleArn)
The ARN of the IAM role that is used by this metric stream.
roleArn
- The ARN of the IAM role that is used by this metric stream.public void setState(String state)
The state of the metric stream. The possible values are running
and stopped
.
state
- The state of the metric stream. The possible values are running
and stopped
.public String getState()
The state of the metric stream. The possible values are running
and stopped
.
running
and stopped
.public GetMetricStreamResult withState(String state)
The state of the metric stream. The possible values are running
and stopped
.
state
- The state of the metric stream. The possible values are running
and stopped
.public void setCreationDate(Date creationDate)
The date that the metric stream was created.
creationDate
- The date that the metric stream was created.public Date getCreationDate()
The date that the metric stream was created.
public GetMetricStreamResult withCreationDate(Date creationDate)
The date that the metric stream was created.
creationDate
- The date that the metric stream was created.public void setLastUpdateDate(Date lastUpdateDate)
The date of the most recent update to the metric stream's configuration.
lastUpdateDate
- The date of the most recent update to the metric stream's configuration.public Date getLastUpdateDate()
The date of the most recent update to the metric stream's configuration.
public GetMetricStreamResult withLastUpdateDate(Date lastUpdateDate)
The date of the most recent update to the metric stream's configuration.
lastUpdateDate
- The date of the most recent update to the metric stream's configuration.public void setOutputFormat(String outputFormat)
The output format for the stream. Valid values are json
, opentelemetry1.0
, and
opentelemetry0.7
. For more information about metric stream output formats, see Metric streams output formats.
outputFormat
- The output format for the stream. Valid values are json
, opentelemetry1.0
, and
opentelemetry0.7
. For more information about metric stream output formats, see Metric streams output formats.MetricStreamOutputFormat
public String getOutputFormat()
The output format for the stream. Valid values are json
, opentelemetry1.0
, and
opentelemetry0.7
. For more information about metric stream output formats, see Metric streams output formats.
json
, opentelemetry1.0
, and
opentelemetry0.7
. For more information about metric stream output formats, see Metric streams output formats.MetricStreamOutputFormat
public GetMetricStreamResult withOutputFormat(String outputFormat)
The output format for the stream. Valid values are json
, opentelemetry1.0
, and
opentelemetry0.7
. For more information about metric stream output formats, see Metric streams output formats.
outputFormat
- The output format for the stream. Valid values are json
, opentelemetry1.0
, and
opentelemetry0.7
. For more information about metric stream output formats, see Metric streams output formats.MetricStreamOutputFormat
public GetMetricStreamResult withOutputFormat(MetricStreamOutputFormat outputFormat)
The output format for the stream. Valid values are json
, opentelemetry1.0
, and
opentelemetry0.7
. For more information about metric stream output formats, see Metric streams output formats.
outputFormat
- The output format for the stream. Valid values are json
, opentelemetry1.0
, and
opentelemetry0.7
. For more information about metric stream output formats, see Metric streams output formats.MetricStreamOutputFormat
public List<MetricStreamStatisticsConfiguration> getStatisticsConfigurations()
Each entry in this array displays information about one or more metrics that include additional statistics in the metric stream. For more information about the additional statistics, see CloudWatch statistics definitions.
public void setStatisticsConfigurations(Collection<MetricStreamStatisticsConfiguration> statisticsConfigurations)
Each entry in this array displays information about one or more metrics that include additional statistics in the metric stream. For more information about the additional statistics, see CloudWatch statistics definitions.
statisticsConfigurations
- Each entry in this array displays information about one or more metrics that include additional statistics
in the metric stream. For more information about the additional statistics, see
CloudWatch statistics definitions.public GetMetricStreamResult withStatisticsConfigurations(MetricStreamStatisticsConfiguration... statisticsConfigurations)
Each entry in this array displays information about one or more metrics that include additional statistics in the metric stream. For more information about the additional statistics, see CloudWatch statistics definitions.
NOTE: This method appends the values to the existing list (if any). Use
setStatisticsConfigurations(java.util.Collection)
or
withStatisticsConfigurations(java.util.Collection)
if you want to override the existing values.
statisticsConfigurations
- Each entry in this array displays information about one or more metrics that include additional statistics
in the metric stream. For more information about the additional statistics, see
CloudWatch statistics definitions.public GetMetricStreamResult withStatisticsConfigurations(Collection<MetricStreamStatisticsConfiguration> statisticsConfigurations)
Each entry in this array displays information about one or more metrics that include additional statistics in the metric stream. For more information about the additional statistics, see CloudWatch statistics definitions.
statisticsConfigurations
- Each entry in this array displays information about one or more metrics that include additional statistics
in the metric stream. For more information about the additional statistics, see
CloudWatch statistics definitions.public void setIncludeLinkedAccountsMetrics(Boolean includeLinkedAccountsMetrics)
If this is true
and this metric stream is in a monitoring account, then the stream includes metrics
from source accounts that the monitoring account is linked to.
includeLinkedAccountsMetrics
- If this is true
and this metric stream is in a monitoring account, then the stream includes
metrics from source accounts that the monitoring account is linked to.public Boolean getIncludeLinkedAccountsMetrics()
If this is true
and this metric stream is in a monitoring account, then the stream includes metrics
from source accounts that the monitoring account is linked to.
true
and this metric stream is in a monitoring account, then the stream includes
metrics from source accounts that the monitoring account is linked to.public GetMetricStreamResult withIncludeLinkedAccountsMetrics(Boolean includeLinkedAccountsMetrics)
If this is true
and this metric stream is in a monitoring account, then the stream includes metrics
from source accounts that the monitoring account is linked to.
includeLinkedAccountsMetrics
- If this is true
and this metric stream is in a monitoring account, then the stream includes
metrics from source accounts that the monitoring account is linked to.public Boolean isIncludeLinkedAccountsMetrics()
If this is true
and this metric stream is in a monitoring account, then the stream includes metrics
from source accounts that the monitoring account is linked to.
true
and this metric stream is in a monitoring account, then the stream includes
metrics from source accounts that the monitoring account is linked to.public String toString()
toString
in class Object
Object.toString()
public GetMetricStreamResult clone()