public class CloudWatchLogsConfigurationType
extends java.lang.Object
implements java.io.Serializable
The CloudWatch logging destination of a user pool detailed activity logging configuration.
| Constructor and Description |
|---|
CloudWatchLogsConfigurationType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLogGroupArn()
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your
user pool sends logs.
|
int |
hashCode() |
void |
setLogGroupArn(java.lang.String logGroupArn)
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your
user pool sends logs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CloudWatchLogsConfigurationType |
withLogGroupArn(java.lang.String logGroupArn)
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your
user pool sends logs.
|
public java.lang.String getLogGroupArn()
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
public void setLogGroupArn(java.lang.String logGroupArn)
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
logGroupArn - The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
public CloudWatchLogsConfigurationType withLogGroupArn(java.lang.String logGroupArn)
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
logGroupArn - The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object