Interface GetStreamForSegmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetStreamForSegmentsResponse.Builder,,GetStreamForSegmentsResponse> CustomerProfilesResponse.Builder,SdkBuilder<GetStreamForSegmentsResponse.Builder,,GetStreamForSegmentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetStreamForSegmentsResponse
-
Method Summary
Modifier and TypeMethodDescriptionassociatedAt(Instant associatedAt) The timestamp of when the stream was associated.associatedSegments(Collection<AssociatedSegment> associatedSegments) A list of segments currently associated with the stream and their subscription status.associatedSegments(Consumer<AssociatedSegment.Builder>... associatedSegments) A list of segments currently associated with the stream and their subscription status.associatedSegments(AssociatedSegment... associatedSegments) A list of segments currently associated with the stream and their subscription status.destinationArn(String destinationArn) The Amazon Resource Name (ARN) of the Amazon Kinesis data stream receiving segment membership events.destinationRoleArn(String destinationRoleArn) The Amazon Resource Name (ARN) of the IAM role used for Amazon Kinesis and AWS Key Management Service (KMS) operations.disassociatedAt(Instant disassociatedAt) The timestamp of when the stream was disassociated.domainName(String domainName) The unique name of the domain.failureReason(String failureReason) The reason why the stream is in an unhealthy state, if applicable.The operational state of the destination stream.state(EventSubscriptionState state) The operational state of the destination stream.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
associatedAt
The timestamp of when the stream was associated.
- Parameters:
associatedAt- The timestamp of when the stream was associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSegments
GetStreamForSegmentsResponse.Builder associatedSegments(Collection<AssociatedSegment> associatedSegments) A list of segments currently associated with the stream and their subscription status.
- Parameters:
associatedSegments- A list of segments currently associated with the stream and their subscription status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSegments
A list of segments currently associated with the stream and their subscription status.
- Parameters:
associatedSegments- A list of segments currently associated with the stream and their subscription status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSegments
GetStreamForSegmentsResponse.Builder associatedSegments(Consumer<AssociatedSegment.Builder>... associatedSegments) A list of segments currently associated with the stream and their subscription status.
This is a convenience method that creates an instance of theAssociatedSegment.Builderavoiding the need to create one manually viaAssociatedSegment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedSegments(List<AssociatedSegment>).- Parameters:
associatedSegments- a consumer that will call methods onAssociatedSegment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainName
The unique name of the domain.
- Parameters:
domainName- The unique name of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationArn
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream receiving segment membership events.
- Parameters:
destinationArn- The Amazon Resource Name (ARN) of the Amazon Kinesis data stream receiving segment membership events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationRoleArn
The Amazon Resource Name (ARN) of the IAM role used for Amazon Kinesis and AWS Key Management Service (KMS) operations.
- Parameters:
destinationRoleArn- The Amazon Resource Name (ARN) of the IAM role used for Amazon Kinesis and AWS Key Management Service (KMS) operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The operational state of the destination stream. The following are valid values:
-
RUNNING: The stream is associated and healthy. Segment membership events are being published.
-
UNHEALTHY: The stream is associated but events cannot currently be published. See
FailureReasonfor details. -
STOPPED: The stream is no longer publishing segment membership events.
- Parameters:
state- The operational state of the destination stream. The following are valid values:-
RUNNING: The stream is associated and healthy. Segment membership events are being published.
-
UNHEALTHY: The stream is associated but events cannot currently be published. See
FailureReasonfor details. -
STOPPED: The stream is no longer publishing segment membership events.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
state
The operational state of the destination stream. The following are valid values:
-
RUNNING: The stream is associated and healthy. Segment membership events are being published.
-
UNHEALTHY: The stream is associated but events cannot currently be published. See
FailureReasonfor details. -
STOPPED: The stream is no longer publishing segment membership events.
- Parameters:
state- The operational state of the destination stream. The following are valid values:-
RUNNING: The stream is associated and healthy. Segment membership events are being published.
-
UNHEALTHY: The stream is associated but events cannot currently be published. See
FailureReasonfor details. -
STOPPED: The stream is no longer publishing segment membership events.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
disassociatedAt
The timestamp of when the stream was disassociated.
- Parameters:
disassociatedAt- The timestamp of when the stream was disassociated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The reason why the stream is in an unhealthy state, if applicable.
- Parameters:
failureReason- The reason why the stream is in an unhealthy state, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-