public class UpdateSegmentRequest extends AmazonWebServiceRequest implements java.io.Serializable
Constructor and Description |
---|
UpdateSegmentRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationId()
The unique ID of your Amazon Pinpoint application.
|
java.lang.String |
getSegmentId()
The unique ID of the segment.
|
WriteSegmentRequest |
getWriteSegmentRequest()
Segment definition.
|
int |
hashCode() |
void |
setApplicationId(java.lang.String applicationId)
The unique ID of your Amazon Pinpoint application.
|
void |
setSegmentId(java.lang.String segmentId)
The unique ID of the segment.
|
void |
setWriteSegmentRequest(WriteSegmentRequest writeSegmentRequest)
Segment definition.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateSegmentRequest |
withApplicationId(java.lang.String applicationId)
The unique ID of your Amazon Pinpoint application.
|
UpdateSegmentRequest |
withSegmentId(java.lang.String segmentId)
The unique ID of the segment.
|
UpdateSegmentRequest |
withWriteSegmentRequest(WriteSegmentRequest writeSegmentRequest)
Segment definition.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String applicationId)
applicationId
- The unique ID of your Amazon Pinpoint application.public UpdateSegmentRequest withApplicationId(java.lang.String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId
- The unique ID of your Amazon Pinpoint application.public java.lang.String getSegmentId()
public void setSegmentId(java.lang.String segmentId)
segmentId
- The unique ID of the segment.public UpdateSegmentRequest withSegmentId(java.lang.String segmentId)
Returns a reference to this object so that method calls can be chained together.
segmentId
- The unique ID of the segment.public WriteSegmentRequest getWriteSegmentRequest()
public void setWriteSegmentRequest(WriteSegmentRequest writeSegmentRequest)
writeSegmentRequest
- Segment definition.public UpdateSegmentRequest withWriteSegmentRequest(WriteSegmentRequest writeSegmentRequest)
Returns a reference to this object so that method calls can be chained together.
writeSegmentRequest
- Segment definition.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.