Class CreateReportOptions.Builder

  • Enclosing class:
    CreateReportOptions

    public static class CreateReportOptions.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String accountId)
        Instantiates a new builder with required properties.
        Parameters:
        accountId - the accountId
    • Method Detail

      • build

        public CreateReportOptions build()
        Builds a CreateReportOptions.
        Returns:
        the new CreateReportOptions instance
      • accountId

        public CreateReportOptions.Builder accountId​(java.lang.String accountId)
        Set the accountId.
        Parameters:
        accountId - the accountId
        Returns:
        the CreateReportOptions builder
      • type

        public CreateReportOptions.Builder type​(java.lang.String type)
        Set the type.
        Parameters:
        type - the type
        Returns:
        the CreateReportOptions builder
      • duration

        public CreateReportOptions.Builder duration​(java.lang.String duration)
        Set the duration.
        Parameters:
        duration - the duration
        Returns:
        the CreateReportOptions builder