Interface ReportPlan.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReportPlan.Builder,,ReportPlan> SdkBuilder<ReportPlan.Builder,,ReportPlan> SdkPojo
- Enclosing class:
ReportPlan
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Instant creationTime) The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).deploymentStatus(String deploymentStatus) The deployment status of a report plan.lastAttemptedExecutionTime(Instant lastAttemptedExecutionTime) The date and time that a report job associated with this report plan last attempted to run, in Unix format and Coordinated Universal Time (UTC).lastSuccessfulExecutionTime(Instant lastSuccessfulExecutionTime) The date and time that a report job associated with this report plan last successfully ran, in Unix format and Coordinated Universal Time (UTC).default ReportPlan.BuilderreportDeliveryChannel(Consumer<ReportDeliveryChannel.Builder> reportDeliveryChannel) Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.reportDeliveryChannel(ReportDeliveryChannel reportDeliveryChannel) Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.reportPlanArn(String reportPlanArn) An Amazon Resource Name (ARN) that uniquely identifies a resource.reportPlanDescription(String reportPlanDescription) An optional description of the report plan with a maximum 1,024 characters.reportPlanName(String reportPlanName) The unique name of the report plan.default ReportPlan.BuilderreportSetting(Consumer<ReportSetting.Builder> reportSetting) Identifies the report template for the report.reportSetting(ReportSetting reportSetting) Identifies the report template for the report.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
reportPlanArn
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
- Parameters:
reportPlanArn- An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportPlanName
The unique name of the report plan. This name is between 1 and 256 characters starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
- Parameters:
reportPlanName- The unique name of the report plan. This name is between 1 and 256 characters starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportPlanDescription
An optional description of the report plan with a maximum 1,024 characters.
- Parameters:
reportPlanDescription- An optional description of the report plan with a maximum 1,024 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportSetting
Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORTIf the report template is
RESOURCE_COMPLIANCE_REPORTorCONTROL_COMPLIANCE_REPORT, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.- Parameters:
reportSetting- Identifies the report template for the report. Reports are built using a report template. The report templates are:RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORTIf the report template is
RESOURCE_COMPLIANCE_REPORTorCONTROL_COMPLIANCE_REPORT, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportSetting
Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORTIf the report template is
This is a convenience method that creates an instance of theRESOURCE_COMPLIANCE_REPORTorCONTROL_COMPLIANCE_REPORT, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.ReportSetting.Builderavoiding the need to create one manually viaReportSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreportSetting(ReportSetting).- Parameters:
reportSetting- a consumer that will call methods onReportSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reportDeliveryChannel
Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
- Parameters:
reportDeliveryChannel- Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportDeliveryChannel
default ReportPlan.Builder reportDeliveryChannel(Consumer<ReportDeliveryChannel.Builder> reportDeliveryChannel) Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
This is a convenience method that creates an instance of theReportDeliveryChannel.Builderavoiding the need to create one manually viaReportDeliveryChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreportDeliveryChannel(ReportDeliveryChannel).- Parameters:
reportDeliveryChannel- a consumer that will call methods onReportDeliveryChannel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentStatus
The deployment status of a report plan. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED- Parameters:
deploymentStatus- The deployment status of a report plan. The statuses are:CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationTimeis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
creationTime- The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC). The value ofCreationTimeis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastAttemptedExecutionTime
The date and time that a report job associated with this report plan last attempted to run, in Unix format and Coordinated Universal Time (UTC). The value of
LastAttemptedExecutionTimeis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
lastAttemptedExecutionTime- The date and time that a report job associated with this report plan last attempted to run, in Unix format and Coordinated Universal Time (UTC). The value ofLastAttemptedExecutionTimeis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSuccessfulExecutionTime
The date and time that a report job associated with this report plan last successfully ran, in Unix format and Coordinated Universal Time (UTC). The value of
LastSuccessfulExecutionTimeis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
lastSuccessfulExecutionTime- The date and time that a report job associated with this report plan last successfully ran, in Unix format and Coordinated Universal Time (UTC). The value ofLastSuccessfulExecutionTimeis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-