@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventStream extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
EventStream() |
Modifier and Type | Method and Description |
---|---|
EventStream |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application from which events should be published.
|
String |
getDestinationStreamArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to
publish events.
|
String |
getExternalId()
(Deprecated) Your AWS account ID, which you assigned to the ExternalID key in an IAM trust policy.
|
String |
getLastModifiedDate()
The date the event stream was last updated in ISO 8601 format.
|
String |
getLastUpdatedBy()
The IAM user who last modified the event stream.
|
String |
getRoleArn()
The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The ID of the application from which events should be published.
|
void |
setDestinationStreamArn(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(String externalId)
(Deprecated) Your AWS account ID, which you assigned to the ExternalID key in an IAM trust policy.
|
void |
setLastModifiedDate(String lastModifiedDate)
The date the event stream was last updated in ISO 8601 format.
|
void |
setLastUpdatedBy(String lastUpdatedBy)
The IAM user who last modified the event stream.
|
void |
setRoleArn(String roleArn)
The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.
|
String |
toString()
Returns a string representation of this object.
|
EventStream |
withApplicationId(String applicationId)
The ID of the application from which events should be published.
|
EventStream |
withDestinationStreamArn(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(String externalId)
(Deprecated) Your AWS account ID, which you assigned to the ExternalID key in an IAM trust policy.
|
EventStream |
withLastModifiedDate(String lastModifiedDate)
The date the event stream was last updated in ISO 8601 format.
|
EventStream |
withLastUpdatedBy(String lastUpdatedBy)
The IAM user who last modified the event stream.
|
EventStream |
withRoleArn(String roleArn)
The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.
|
public void setApplicationId(String applicationId)
applicationId
- The ID of the application from which events should be published.public String getApplicationId()
public EventStream withApplicationId(String applicationId)
applicationId
- The ID of the application from which events should be published.public void setDestinationStreamArn(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 String getDestinationStreamArn()
public EventStream withDestinationStreamArn(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 void setExternalId(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 String getExternalId()
public EventStream withExternalId(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 void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- The date the event stream was last updated in ISO 8601 format.public String getLastModifiedDate()
public EventStream withLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- The date the event stream was last updated in ISO 8601 format.public void setLastUpdatedBy(String lastUpdatedBy)
lastUpdatedBy
- The IAM user who last modified the event stream.public String getLastUpdatedBy()
public EventStream withLastUpdatedBy(String lastUpdatedBy)
lastUpdatedBy
- The IAM user who last modified the event stream.public void setRoleArn(String roleArn)
roleArn
- The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.public String getRoleArn()
public EventStream withRoleArn(String roleArn)
roleArn
- The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.public String toString()
toString
in class Object
Object.toString()
public EventStream clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.