@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 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.
|
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()
|
String |
getRoleArn()
The ARN of the IAM role that is used by this metric stream.
|
String |
getState()
The state of the metric stream.
|
int |
hashCode() |
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 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 |
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)
|
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.
|
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 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 |
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)
|
GetMetricStreamResult |
withOutputFormat(String outputFormat)
|
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.
|
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 Firehose delivery stream that is used by this metric stream.
firehoseArn
- The ARN of the Amazon Kinesis Firehose delivery stream that is used by this metric stream.public String getFirehoseArn()
The ARN of the Amazon Kinesis Firehose delivery stream that is used by this metric stream.
public GetMetricStreamResult withFirehoseArn(String firehoseArn)
The ARN of the Amazon Kinesis Firehose delivery stream that is used by this metric stream.
firehoseArn
- The ARN of the Amazon Kinesis 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)
outputFormat
- MetricStreamOutputFormat
public String getOutputFormat()
MetricStreamOutputFormat
public GetMetricStreamResult withOutputFormat(String outputFormat)
outputFormat
- MetricStreamOutputFormat
public GetMetricStreamResult withOutputFormat(MetricStreamOutputFormat outputFormat)
outputFormat
- MetricStreamOutputFormat
public String toString()
toString
in class Object
Object.toString()
public GetMetricStreamResult clone()