@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricDestinationSummary extends Object implements Serializable, Cloneable, StructuredPojo
A structure that displays information about one destination that CloudWatch RUM sends extended metrics to.
| Constructor and Description | 
|---|
MetricDestinationSummary()  | 
| Modifier and Type | Method and Description | 
|---|---|
MetricDestinationSummary | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getDestination()
 Specifies whether the destination is  
CloudWatch or Evidently. | 
String | 
getDestinationArn()
 If the destination is  
Evidently, this specifies the ARN of the Evidently experiment that receives
 the metrics. | 
String | 
getIamRoleArn()
 This field appears only when the destination is  
Evidently. | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setDestination(String destination)
 Specifies whether the destination is  
CloudWatch or Evidently. | 
void | 
setDestinationArn(String destinationArn)
 If the destination is  
Evidently, this specifies the ARN of the Evidently experiment that receives
 the metrics. | 
void | 
setIamRoleArn(String iamRoleArn)
 This field appears only when the destination is  
Evidently. | 
String | 
toString()
Returns a string representation of this object. 
 | 
MetricDestinationSummary | 
withDestination(MetricDestination destination)
 Specifies whether the destination is  
CloudWatch or Evidently. | 
MetricDestinationSummary | 
withDestination(String destination)
 Specifies whether the destination is  
CloudWatch or Evidently. | 
MetricDestinationSummary | 
withDestinationArn(String destinationArn)
 If the destination is  
Evidently, this specifies the ARN of the Evidently experiment that receives
 the metrics. | 
MetricDestinationSummary | 
withIamRoleArn(String iamRoleArn)
 This field appears only when the destination is  
Evidently. | 
public void setDestination(String destination)
 Specifies whether the destination is CloudWatch or Evidently.
 
destination - Specifies whether the destination is CloudWatch or Evidently.MetricDestinationpublic String getDestination()
 Specifies whether the destination is CloudWatch or Evidently.
 
CloudWatch or Evidently.MetricDestinationpublic MetricDestinationSummary withDestination(String destination)
 Specifies whether the destination is CloudWatch or Evidently.
 
destination - Specifies whether the destination is CloudWatch or Evidently.MetricDestinationpublic MetricDestinationSummary withDestination(MetricDestination destination)
 Specifies whether the destination is CloudWatch or Evidently.
 
destination - Specifies whether the destination is CloudWatch or Evidently.MetricDestinationpublic void setDestinationArn(String destinationArn)
 If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives
 the metrics.
 
destinationArn - If the destination is Evidently, this specifies the ARN of the Evidently experiment that
        receives the metrics.public String getDestinationArn()
 If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives
 the metrics.
 
Evidently, this specifies the ARN of the Evidently experiment that
         receives the metrics.public MetricDestinationSummary withDestinationArn(String destinationArn)
 If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives
 the metrics.
 
destinationArn - If the destination is Evidently, this specifies the ARN of the Evidently experiment that
        receives the metrics.public void setIamRoleArn(String iamRoleArn)
 This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that
 is used to write to the Evidently experiment that receives the metrics.
 
iamRoleArn - This field appears only when the destination is Evidently. It specifies the ARN of the IAM
        role that is used to write to the Evidently experiment that receives the metrics.public String getIamRoleArn()
 This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that
 is used to write to the Evidently experiment that receives the metrics.
 
Evidently. It specifies the ARN of the IAM
         role that is used to write to the Evidently experiment that receives the metrics.public MetricDestinationSummary withIamRoleArn(String iamRoleArn)
 This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that
 is used to write to the Evidently experiment that receives the metrics.
 
iamRoleArn - This field appears only when the destination is Evidently. It specifies the ARN of the IAM
        role that is used to write to the Evidently experiment that receives the metrics.public String toString()
toString in class ObjectObject.toString()public MetricDestinationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.