Interface DescribeArchiveResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchEventsResponse.Builder
,CopyableBuilder<DescribeArchiveResponse.Builder,
,DescribeArchiveResponse> SdkBuilder<DescribeArchiveResponse.Builder,
,DescribeArchiveResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeArchiveResponse
public static interface DescribeArchiveResponse.Builder
extends CloudWatchEventsResponse.Builder, SdkPojo, CopyableBuilder<DescribeArchiveResponse.Builder,DescribeArchiveResponse>
-
Method Summary
Modifier and TypeMethodDescriptionarchiveArn
(String archiveArn) The ARN of the archive.archiveName
(String archiveName) The name of the archive.creationTime
(Instant creationTime) The time at which the archive was created.description
(String description) The description of the archive.eventCount
(Long eventCount) The number of events in the archive.eventPattern
(String eventPattern) The event pattern used to filter events sent to the archive.eventSourceArn
(String eventSourceArn) The ARN of the event source associated with the archive.retentionDays
(Integer retentionDays) The number of days to retain events for in the archive.The size of the archive in bytes.The state of the archive.state
(ArchiveState state) The state of the archive.stateReason
(String stateReason) The reason that the archive is in the state.Methods inherited from interface software.amazon.awssdk.services.cloudwatchevents.model.CloudWatchEventsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
archiveArn
The ARN of the archive.
- Parameters:
archiveArn
- The ARN of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archiveName
The name of the archive.
- Parameters:
archiveName
- The name of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSourceArn
The ARN of the event source associated with the archive.
- Parameters:
eventSourceArn
- The ARN of the event source associated with the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the archive.
- Parameters:
description
- The description of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventPattern
The event pattern used to filter events sent to the archive.
- Parameters:
eventPattern
- The event pattern used to filter events sent to the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the archive.
- Parameters:
state
- The state of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the archive.
- Parameters:
state
- The state of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
The reason that the archive is in the state.
- Parameters:
stateReason
- The reason that the archive is in the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionDays
The number of days to retain events for in the archive.
- Parameters:
retentionDays
- The number of days to retain events for in the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeBytes
The size of the archive in bytes.
- Parameters:
sizeBytes
- The size of the archive in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCount
The number of events in the archive.
- Parameters:
eventCount
- The number of events in the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time at which the archive was created.
- Parameters:
creationTime
- The time at which the archive was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-