public class EventStream
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
EventStream() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationId()
The ID of the application from which events should be published.
|
java.lang.String |
getDestinationStreamArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose
delivery stream to which you want to publish events.
|
java.lang.String |
getExternalId()
(Deprecated) Your AWS account ID, which you assigned to the ExternalID
key in an IAM trust policy.
|
java.lang.String |
getLastModifiedDate()
The date the event stream was last updated in ISO 8601 format.
|
java.lang.String |
getLastUpdatedBy()
The IAM user who last modified the event stream.
|
java.lang.String |
getRoleArn()
The IAM role that authorizes Amazon Pinpoint to publish events to the
stream in your account.
|
int |
hashCode() |
void |
setApplicationId(java.lang.String applicationId)
The ID of the application from which events should be published.
|
void |
setDestinationStreamArn(java.lang.String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose
delivery stream to which you want to publish events.
|
void |
setExternalId(java.lang.String externalId)
(Deprecated) Your AWS account ID, which you assigned to the ExternalID
key in an IAM trust policy.
|
void |
setLastModifiedDate(java.lang.String lastModifiedDate)
The date the event stream was last updated in ISO 8601 format.
|
void |
setLastUpdatedBy(java.lang.String lastUpdatedBy)
The IAM user who last modified the event stream.
|
void |
setRoleArn(java.lang.String roleArn)
The IAM role that authorizes Amazon Pinpoint to publish events to the
stream in your account.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventStream |
withApplicationId(java.lang.String applicationId)
The ID of the application from which events should be published.
|
EventStream |
withDestinationStreamArn(java.lang.String destinationStreamArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose
delivery stream to which you want to publish events.
|
EventStream |
withExternalId(java.lang.String externalId)
(Deprecated) Your AWS account ID, which you assigned to the ExternalID
key in an IAM trust policy.
|
EventStream |
withLastModifiedDate(java.lang.String lastModifiedDate)
The date the event stream was last updated in ISO 8601 format.
|
EventStream |
withLastUpdatedBy(java.lang.String lastUpdatedBy)
The IAM user who last modified the event stream.
|
EventStream |
withRoleArn(java.lang.String roleArn)
The IAM role that authorizes Amazon Pinpoint to publish events to the
stream in your account.
|
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String applicationId)
applicationId
- The ID of the application from which events should
be published.public EventStream withApplicationId(java.lang.String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId
- The ID of the application from which events should
be published.public java.lang.String getDestinationStreamArn()
public void setDestinationStreamArn(java.lang.String destinationStreamArn)
destinationStreamArn
- The Amazon Resource Name (ARN) of the Amazon
Kinesis stream or Firehose delivery stream to which you want
to publish events. Firehose ARN:
arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME
Kinesis ARN:
arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAMEpublic EventStream withDestinationStreamArn(java.lang.String destinationStreamArn)
Returns a reference to this object so that method calls can be chained together.
destinationStreamArn
- The Amazon Resource Name (ARN) of the Amazon
Kinesis stream or Firehose delivery stream to which you want
to publish events. Firehose ARN:
arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME
Kinesis ARN:
arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAMEpublic java.lang.String getExternalId()
public void setExternalId(java.lang.String externalId)
externalId
- (Deprecated) Your AWS account ID, which you assigned to
the ExternalID key in an IAM trust policy. Used by Amazon
Pinpoint to assume an IAM role. This requirement is removed,
and external IDs are not recommended for IAM roles assumed by
Amazon Pinpoint.public EventStream withExternalId(java.lang.String externalId)
Returns a reference to this object so that method calls can be chained together.
externalId
- (Deprecated) Your AWS account ID, which you assigned to
the ExternalID key in an IAM trust policy. Used by Amazon
Pinpoint to assume an IAM role. This requirement is removed,
and external IDs are not recommended for IAM roles assumed by
Amazon Pinpoint.public java.lang.String getLastModifiedDate()
public void setLastModifiedDate(java.lang.String lastModifiedDate)
lastModifiedDate
- The date the event stream was last updated in ISO
8601 format.public EventStream withLastModifiedDate(java.lang.String lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- The date the event stream was last updated in ISO
8601 format.public java.lang.String getLastUpdatedBy()
public void setLastUpdatedBy(java.lang.String lastUpdatedBy)
lastUpdatedBy
- The IAM user who last modified the event stream.public EventStream withLastUpdatedBy(java.lang.String lastUpdatedBy)
Returns a reference to this object so that method calls can be chained together.
lastUpdatedBy
- The IAM user who last modified the event stream.public java.lang.String getRoleArn()
public void setRoleArn(java.lang.String roleArn)
roleArn
- The IAM role that authorizes Amazon Pinpoint to publish
events to the stream in your account.public EventStream withRoleArn(java.lang.String roleArn)
Returns a reference to this object so that method calls can be chained together.
roleArn
- The IAM role that authorizes Amazon Pinpoint to publish
events to the stream in your account.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.